Extension support on all websites
-
LEVAAP last edited by
Hey,
I'm making a extension right now that will pause every video playing on tab focus. But I'm struggling with the permissions object in the manifest.json. I tried everything to make the extension work on every page on the internet: "<all_urls>" and "http:///" and "https:///" and "tabs"
Why does nothing work? And what should I use now? -
LEVAAP last edited by
@levaap
Json code{ "manifest_version": 3, "name": "Mijn extensie", "description": "Dit is mijn extensie", "version": "1.0", "background": { "service_worker": "background.js" }, "host_permissions": [<all_urls>], "content_scripts": [ { "matches": ["*://*/*"], "js": ["background.js"] } ] }