Internet Diet
Remove unhealthy foods from the web.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "0.1.0",
"name": "Internet Diet",
"manifest_version": 3,
"minimum_chrome_version": "88",
"description": "Remove unhealthy foods from the web.",
"homepage_url": "https://github.com/transitive-bullshit/internet-diet",
"permissions": [
"storage",
"tabs",
"scripting"
],
"host_permissions": [
"<all_urls>"
],
"background": {
"service_worker": "./background.js"
},
"web_accessible_resources": [
{
"resources": [
"blocked.html",
"toast.js"
],
"matches": [
"<all_urls>"
]
}
],
"options_page": "options.html",
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "/assets/[email protected]",
"32": "/assets/[email protected]",
"48": "/assets/[email protected]",
"128": "/assets/[email protected]"
}
},
"icons": {
"16": "/assets/[email protected]",
"32": "/assets/[email protected]",
"48": "/assets/[email protected]",
"128": "/assets/[email protected]"
},
"commands": {
"toggle-blocking": {
"suggested_key": {
"default": "Ctrl+Shift+P"
},
"description": "Toggle blocking"
},
"add-block-link-rule-to-page": {
"suggested_key": {
"default": "Ctrl+Shift+Period"
},
"description": "Block a link on the current page"
},
"remove-block-link-rule-from-page": {
"suggested_key": {
"default": "Ctrl+Shift+Comma"
},
"description": "Unblock a link on the current page"
}
}
}