fregante/webext-dynamic-content-scripts

Add support for `world` in MV3

Open

#60 aberto em 14 de mar. de 2023

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

Métricas do repositório

Stars
 (92 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador