Dark Mode 2.0
Allows you to turn on dark mode for any website & enables night shift that changes the tint to help avoid strain on your eyes!
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"version": "0.0.1",
"manifest_version": 3,
"name": "Dark Mode 2.0",
"minimum_chrome_version": "90",
"icons": {
"128": "icons/icon.png"
},
"action": {
"default_popup": "popup.html"
},
"background": {
"service_worker": "./js/background.js"
},
"content_scripts": [
{
"all_frames": true,
"matches": [
"<all_urls>"
],
"match_about_blank": true,
"run_at": "document_start",
"css": [
"./css/inject.css"
],
"js": [
"./js/content_script.js"
],
"exclude_globs": [
"*/chrome/newtab*"
]
}
],
"permissions": [
"activeTab",
"storage",
"webNavigation"
],
"web_accessible_resources": [
{
"resources": [
"css/*"
],
"matches": [
"<all_urls>"
]
}
],
"description": "Allows you to turn on dark mode for any website & enables night shift that changes the tint to help avoid strain on your eyes!"
}