Revert Firefox manifest to v2

Manifest v3 in Firefox requires users to enable permissions as they're needed - which is good, but it's not an intuitive and clear experience. Will re-visit once the permissions experience is more clear and/or IWB can provide a better experience itself
pull/443/head
Kevin Payravi 2024-01-22 04:15:51 -07:00
parent 551c36d06f
commit 49d0891fe8
1 changed files with 77 additions and 85 deletions

View File

@ -6,7 +6,21 @@
"storage",
"webRequest",
"notifications",
"scripting"
"scripting",
"https://*.fandom.com/*",
"https://*.fextralife.com/*",
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"icons": {
"16": "images/logo-16.png",
@ -15,7 +29,7 @@
"64": "images/logo-64.png",
"128": "images/logo-128.png"
},
"action": {
"browser_action": {
"default_popup": "pages/popup/index.html",
"default_icon": {
"16": "images/logo-16.png",
@ -26,34 +40,72 @@
}
},
"web_accessible_resources": [
{
"resources": [
"favicons/*",
"data/sitesDE.json",
"data/sitesEN.json",
"data/sitesES.json",
"data/sitesFR.json",
"data/sitesIT.json",
"data/sitesKO.json",
"data/sitesPL.json",
"data/sitesPT.json",
"data/sitesRU.json",
"data/sitesTOK.json",
"data/sitesUK.json",
"data/sitesZH.json"
],
"matches": [
"https://*/*"
]
}
"favicons/*",
"data/sitesDE.json",
"data/sitesEN.json",
"data/sitesES.json",
"data/sitesFR.json",
"data/sitesIT.json",
"data/sitesKO.json",
"data/sitesPL.json",
"data/sitesPT.json",
"data/sitesRU.json",
"data/sitesTOK.json",
"data/sitesUK.json",
"data/sitesZH.json"
],
"background": {
"scripts": [
"scripts/common-functions.js",
"background.js"
]
],
"persistent": true
},
"content_scripts": [
{
"matches": [
"https://*.fandom.com/*",
"https://*.fextralife.com/*",
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"js": [
"scripts/common-functions.js",
"scripts/content-banners.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"js": [
"scripts/common-functions.js",
"scripts/content-breezewiki.js"
],
"run_at": "document_end"
},
{
"matches": [
"https://*.bing.com/search*",
@ -258,73 +310,13 @@
"scripts/content-search-filtering.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://*.fandom.com/*",
"https://*.fextralife.com/*",
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"js": [
"scripts/common-functions.js",
"scripts/content-banners.js"
],
"run_at": "document_start"
},
{
"matches": [
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"js": [
"scripts/common-functions.js",
"scripts/content-breezewiki.js"
],
"run_at": "document_end"
}
],
"host_permissions": [
"https://*.fandom.com/*",
"https://*.fextralife.com/*",
"https://breezewiki.com/*",
"https://antifandom.com/*",
"https://bw.projectsegfau.lt/*",
"https://breeze.hostux.net/*",
"https://breezewiki.pussthecat.org/*",
"https://bw.vern.cc/*",
"https://breezewiki.esmailelbob.xyz/*",
"https://bw.artemislena.eu/*",
"https://bw.hamstro.dev/*",
"https://nerd.whatever.social/*",
"https://breeze.nohost.network/*",
"https://breeze.whateveritworks.org/*"
],
"optional_permissions": ["https://*/*"],
"browser_specific_settings": {
"applications": {
"gecko": {
"id": "{cb31ec5d-c49a-4e5a-b240-16c767444f62}"
}
},
"manifest_version": 3
"manifest_version": 2
}