DevTheme Tester - Native Light and Dark Mode Toggle
Overview
Developer utility to force-test Light/Dark native CSS media queries via Debugger API.
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.
0 out of 5No ratings
Details
- Version1.0
- UpdatedJanuary 18, 2026
- Offered byenrico.hochkoeppler
- Size16.16KiB
- LanguagesEnglish
- DeveloperEnrico Hochkoeppler
浪速区日本橋4丁目9−16 エステムコート難波Ⅲラグース 601 大阪市, 大阪府 556-0005 JPEmail
enrico.hochkoeppler@gmail.comPhone
+81 80-7485-8482 - TraderThis developer has identified itself as a trader per the definition from the European Union and committed to only offer products or services that comply with EU laws.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site