Smart Dark Mode
Does not use heavy codes. It doesn't break the web design. Detects only bright sites and invert them to dark sites.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"version": "1",
"name": "__MSG_name__",
"description": "__MSG_description__",
"default_locale": "en",
"permissions": [
"storage",
"activeTab",
"background"
],
"content_scripts": [
{
"all_frames": true,
"matches": [
"<all_urls>"
],
"run_at": "document_start",
"css": [
"content_scripts/css.css"
],
"js": [
"content_scripts/script.js"
]
}
],
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"action": {
"default_popup": "popup.html"
},
"background": {
"service_worker": "background.js"
}
}