A vite plugin to bundle chrome extensions for Manifest V3.
A content script containing: ``` function setSelectedElement(el) { // do something with the selected element } ``` Should be able to be executed by: ``` chrome.devtools.inspectedWindow.eval("setSelectedElement($0)", { useContentScriptContext: true }); ``` But it can't because that function is being removed and converted to a IIFE. See https://developer.chrome.com/docs/extensions/mv3/devtools/#selected-element
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by steinybot and has received 1 comments.