Files

71 lines
1.4 KiB
JSON

{
"manifest_version": 3,
"name": "X GeoBlock",
"version": "1.1.1",
"description": "Hide posts from X accounts based in countries you choose.",
"icons": {
"16": "icons/icon.png",
"32": "icons/icon.png",
"48": "icons/icon.png",
"128": "icons/icon.png"
},
"permissions": [
"storage",
"offscreen",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"https://x.com/*",
"https://x-geoblock-cache.dariosevilla.es/*"
],
"background": {
"service_worker": "background.js"
},
"declarative_net_request": {
"rule_resources": [
{
"id": "about_page_frame",
"enabled": true,
"path": "rules/about-frame.json"
}
]
},
"content_scripts": [
{
"matches": [
"https://x.com/*"
],
"js": [
"page-bridge.js"
],
"run_at": "document_start",
"world": "MAIN"
},
{
"matches": [
"https://x.com/*"
],
"all_frames": true,
"js": [
"lib/parser.js",
"content.js"
],
"css": [
"content.css"
],
"run_at": "document_idle"
}
],
"options_page": "options/options.html",
"action": {
"default_title": "X GeoBlock",
"default_popup": "popup/popup.html",
"default_icon": {
"16": "icons/icon.png",
"32": "icons/icon.png"
}
},
"web_accessible_resources": [],
"minimum_chrome_version": "109"
}