Add Android support + now don't block the whole page if a sub-resource is served via CF

This commit is contained in:
libroot 2026-10-11 21:39:08 +00:00
commit b73bf5d4ca
7 changed files with 132 additions and 114 deletions

View file

@ -1,6 +1,6 @@
{
"name": "Cloudflare Blocker",
"version": "1.0.0",
"version": "1.1.0",
"author": "libroot.org",
"developer": {
"name": "libroot",
@ -8,10 +8,19 @@
},
"description": "Blocks requests if they have Cloudflare's headers, and shows a blocked page.",
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "cloudflare-blocker@libroot.org",
"strict_min_version": "115.0"
},
"gecko_android": {
"strict_min_version": "120.0"
}
},
"permissions": [
"webRequest",
"webRequestBlocking",
"tabs",
"storage",
"<all_urls>"
],
"background": {
@ -20,7 +29,8 @@
},
"browser_action": {
"default_popup": "popup.html",
"default_icon": "icons/icon.png"
"default_icon": "icons/icon.png",
"default_title": "Cloudflare Blocker"
},
"web_accessible_resources": [
"blocked.html"