Dark/Light Mode Toggle
Toggles between dark and light mode for websites. Remember your choice on a site-by-site basis. No tracking, no data harvesting.…
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "Dark/Light Mode Toggle",
"version": "1.0",
"action": {
"default_popup": "",
"default_icon": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
}
},
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"permissions": [
"activeTab",
"storage"
],
"background": {
"service_worker": "worker.js"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content.js"
]
}
],
"action_handlers": {
"toggleMode": {
"suggested_key": {
"default": "Ctrl+Shift+D",
"mac": "Command+Shift+D"
},
"description": "Toggle Dark Mode"
}
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+Shift+D",
"mac": "Command+Shift+D"
},
"description": "Toggle Dark Mode"
}
},
"action_badge": {
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"browser_style": false
}
}