Dark Mode for Chrome
Click the icon to enable Dark Mode For Chrome. Dark theme with a single move.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_extName__",
"manifest_version": 3,
"version": "0.1.2",
"default_locale": "en",
"description": "__MSG_extShortDesc__",
"offline_enabled": true,
"host_permissions": [
"<all_urls>"
],
"optional_permissions": [
"alarms"
],
"permissions": [
"storage",
"contextMenus"
],
"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"
}
},
"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"
},
"commands": {
"_execute_action": {}
},
"background": {
"service_worker": "background.js"
},
"web_accessible_resources": [
{
"matches": [
"<all_urls>"
],
"resources": [
"data/content_script/custom/*",
"data/content_script/general/*",
"data/content_script/page_context/mainContentScript.js"
]
}
],
"content_scripts": [
{
"all_frames": true,
"matches": [
"<all_urls>"
],
"match_about_blank": true,
"run_at": "document_start",
"exclude_globs": [
"*/chrome/newtab*"
],
"css": [
"data/content_script/mainContentScript.css"
],
"js": [
"data/rules/rules.js",
"data/content_script/mainContentScript.js",
"data/content_script/vendor/tinycolor.js",
"data/content_script/resources/native.js"
]
}
]
}