Enable dark mode for certain websites, while keeping light mode for others.

Latest Version

Version
1.2
Update
August 22, 2024
Size
280KiB
Developer
Category
Users
803
Rating
4.28 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
ActiveTab
WebNavigation
See more

Dark Mode Toggle Per Site Extension

Dark Mode Per Site lets you set any website to dark mode by just one click.

Settings are per site. So you can set some websites to dark mode, and some other websites to light mode.
Read more

Source Manifest.json

{ "name": "Dark Mode Toggle Per Site", "short_name": "Dark Mode Toggle Per Site", "description": "Enable dark mode for certain websites, while keeping light mode for others.", "version": "1.2", "action": { "default_icon": "assets/128.png" }, "background": { "service_worker": "background.js", "type": "module" }, "content_scripts": [ { "matches": [ "" ], "all_frames": true, "css": [ "css/content.css" ], "exclude_globs": [ "*/chrome/newtab*" ], "js": [ "content.js" ], "match_about_blank": true, "run_at": "document_start" }, { "matches": [ "" ], "js": [ "common.js" ] } ], "icons": { "128": "assets/128.png", "32": "assets/32.png", "64": "assets/64.png" }, "manifest_version": 3, "permissions": [ "storage", "activeTab", "webNavigation" ], "host_permissions": [ "" ], "update_url": "https://clients2.google.com/service/update2/crx", "web_accessible_resources": [ { "matches": [ "*://*/*" ], "resources": [ "*" ] } ]}
Read more