Skip to content
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

devtools-panels example broken with manifest v3 #562

Open
achingbrain opened this issue May 20, 2024 · 1 comment
Open

devtools-panels example broken with manifest v3 #562

achingbrain opened this issue May 20, 2024 · 1 comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@achingbrain
Copy link

What information was incorrect, unhelpful, or incomplete?

The README says:

Inject content script: this sends a message to the extension's background script, asking it to inject a given content script in the active page.

The background script uses browser.tabs.executeScript to do this, but executeScript is undefined with manifest v3.

Flipping the manifest version back to 2 makes it work, but I don't think new extensions that use manifest v2 are accepted any more.

What did you expect to see?

The example should work.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

@achingbrain achingbrain added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 20, 2024
Copy link

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant