mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 23:08:33 +02:00
Add example using MV3 userScripts API (#576)
This commit is contained in:
21
userScripts-mv3/manifest.json
Normal file
21
userScripts-mv3/manifest.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "User Scripts Manager extension",
|
||||
"description": "Demonstrates the userScripts API and optional permission, in MV3.",
|
||||
"version": "0.1",
|
||||
"host_permissions": ["*://*/"],
|
||||
"permissions": ["storage", "unlimitedStorage"],
|
||||
"optional_permissions": ["userScripts"],
|
||||
"background": {
|
||||
"scripts": ["background.js"]
|
||||
},
|
||||
"options_ui": {
|
||||
"page": "options.html"
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "user-script-manager-example@mozilla.org",
|
||||
"strict_min_version": "134.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user