fregante/webext-dynamic-content-scripts

Add support for `world` in MV3

Open

#60 opened on Mar 14, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (14 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (92 stars)
PR merge metrics
 (PR metrics pending)

Description

https://groups.google.com/a/chromium.org/g/chromium-extensions/c/_zKyp9XvIzY/m/a5fV4MTcAgAJ

This can now appear in the manifest:

 "content_scripts": [{
    "js": ["content.js"],
    "matches": ["<all_urls>"],
    "run_at": "document_start"
  }, {
    "world": "MAIN",
    "js": ["page.js"],
    "matches": ["<all_urls>"],
    "run_at": "document_start"
  }],

Contributor guide