-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missed dynamically execute scripts and inserts css #49
Comments
It seems like it works to do the following: browser.contentScripts.register({
js: [{ file: new URL("./path/to/file.js", import.meta.url).pathname.slice(1) }]
}) The |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My extension executes the content script and inserts its CSS dynamically (not with help of
content_scripts
section ofmanifest.json
) from popup script withchrome.tabs.executeScript
andchrome.tabs.insertCSS
functions calls.Is it possible to extend the functionality to catch extension files not only from
manifest.json
, or, in such case, I need to add them manually asparcel
command parameter?The text was updated successfully, but these errors were encountered: