fregante/webext-dynamic-content-scripts

Add support for `world` in MV3

Open

#60 aperta il 14 mar 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (14 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (92 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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"
  }],

Guida contributor