Dark Mode
Dark theme and night shift mode for every website. Care your eyes, use Dark Mode for night and daily web browsing.
Additional files are visible only to premium users
manifest.json
{
"version": "2.3.0",
"name": "Dark Mode",
"manifest_version": 2,
"short_name": "dark-mode",
"description": "A global dark theme for the web",
"web_accessible_resources": [
"data/content_script/*.css"
],
"browser_action": {
"default_title": "Dark Mode",
"default_icon": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png"
}
},
"options_ui": {
"open_in_tab": true,
"chrome_style": true,
"page": "data/options/options.html"
},
"content_scripts": [
{
"all_frames": true,
"match_about_blank": true,
"matches": [
"<all_urls>"
],
"run_at": "document_start",
"exclude_globs": [
"*/chrome/newtab*"
],
"js": [
"data/rules/rules.js",
"data/content_script/inject.js"
]
}
],
"permissions": [
"contextMenus",
"tabs",
"webRequest",
"*://*/*",
"webNavigation",
"webRequestBlocking",
"storage"
],
"background": {
"page": "lib/chrome/background.html"
},
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",
"icons": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png",
"128": "data/icons/128.png"
}
}