DevTheme Tester - Native Light and Dark Mode Toggle
v1.0 Updated Jan 18, 2026 16.16KiB
⚠️Requests 1 sensitive permission
Description
The high-precision tool for web developers to test Dark and Light mode themes instantly, regardless of site security policies.
Are you tired of digging through Chrome DevTools' deep "Rendering" menu just to toggle prefers-color-scheme? Do other dark mode extensions fail on your local development sites because of strict Content Security Policies (CSP)?
DevTheme Tester is a minimalist, open-source utility designed specifically for the modern web development workflow. It provides a one-click solution to force-test your CSS media queries using the high-level Chrome DevTools Protocol (CDP).
Why DevTheme Tester?
Most "Dark Mode" extensions work by injecting custom CSS or running scripts on the page. While fine for general users, these methods are unreliable for developers because:
They don't trigger actual CSS @media (prefers-color-scheme) queries.
They are often blocked by Content Security Policy (CSP) headers on secure sites.
They "pollute" the DOM, making it hard to debug your actual code.
DevTheme Tester operates at the browser level using the Debugger API. It tells the rendering engine to act as if the system theme has changed, ensuring 100% accuracy for your native styles.
Key Features:
Instant Toggle: Switch between "System Default," "Force Light," and "Force Dark" in one click.
Full CSP Bypass: Works on GitHub, banking sites, and local environments where script injection is blocked.
Zero Persistence: No settings are saved to your browser storage. It resets to "System" when you close the tab or toggle back, preventing "theme ghosting" during regular browsing.
Privacy-First: No tracking, no data collection, and no "home-calling."
Open Source Transparency: We believe developer tools should be "Glass Boxes." The source code is fully available for audit on GitHub.
How to Use:
Open the website or local app you are developing.
Click the DevTheme Tester icon in your toolbar.
Select your target theme.
Observe your site's native response to color-scheme media queries.
Note on the "Debugging" Bar:
Because this extension uses the high-level Debugger API to bypass site security, Chrome will display a notification bar ("DevTheme Tester started debugging this browser"). This is a native security feature. Simply leave it open while testing; closing the bar will detach the debugger and reset the theme.
Technical Specs:
Engine: Manifest V3
API: chrome.debugger (Emulation.setEmulatedMedia)
Permissions: debugger, activeTab
Source Code: https://github.com/hochenri/native-theme-switcher-extension
Stop fighting with your OS settings. Start testing your themes accurately.
Reviews
Loading reviews...
Permissions (2)
Permissions
activeTabℹ Can access the current tab when you click the extension debuggerℹ Can use Chrome's debugging protocol on other tabs
Details
| Version | 1.0 |
| Updated | Jan 18, 2026 |
| Size | 16.16KiB |
| First Seen | Mar 24, 2026 |
Popular in developer
Lighthouse
by lighthouse-extension-owners
1M
★ 4.42
developer
1M
★ 4.42
developer
Контур.Плагин
by kontur.extension
1M
★ 3.11
developer
1M
★ 3.11
developer
Similarweb - Website Traffic & SEO Checker
by Similarweb
1M
★ 4.66
developer
1M
★ 4.66
developer
Clear Cache
by Little Void LLC (Ben Bojko)
1M
★ 4.45
developer
1M
★ 4.45
developer
SEO META in 1 CLICK
by Bilal Hadri
900K
★ 4.87
developer
900K
★ 4.87
developer
Popular Extensions
Adobe Acrobat: PDF edit, convert, sign tools
by Adobe Inc.
330M
★ 4.40
workflow
330M
★ 4.40
workflow
Chrome Remote Desktop
by Chrome Remote Desktop Release Managers
38M
★ 3.14
workflow
38M
★ 3.14
workflow
Cisco Webex Extension
by cisco.chromestore
24M
★ 2.34
social
24M
★ 2.34
social
Kami for Google Chrome™
by Kami
17M
★ 4.56
education
17M
★ 4.56
education
Read&Write for Google Chrome™
by Texthelp
17M
★ 3.44
accessibility
17M
★ 3.44
accessibility