Skip to content

devtools-panels example broken with manifest v3 #562

@achingbrain

Description

@achingbrain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    idleIssues and pull requests with no activity for three months.needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions