Not reviewed
No code review on record
We have not reviewed this extension’s code, so we cannot vouch for it either way. Check the permissions below to decide whether it asks for more than it needs.
Want us to read this extension's code? Ask for a review and we'll queue it.
What our analysis found
Toggle dark mode is not yet reviewed by Extension Auditor. It comes from a publisher with 10 extensions and was last updated in October 2021.
Toggle dark mode Firefox extension security report
ID: toggle-dark-mode
Extension Info & Metadata
Install growth
About this extension
Toggle the content’s color scheme between preferring light or dark (or inheriting)
Read the publisher’s full description
<strong>For Firefox version ≥ 95.</strong> <strong>Minimal add-on</strong> This is the simplest possible add-on with the least possible permissions. Clicking the add-on action in your toolbar cycles the color scheme preference <em>for browser content</em>, between the following 4 values: <ol><li>dark colors</li><li>light colors</li><li>inherit browser colors (dark or light)</li><li>inherit system colors (dark or light)</li></ol>You can enable or disable values in the cycle from the add-on content. <strong>Fingerprinting incompatibility</strong> Strong fingerprinting resistance (by setting the preference <code>privacy.resistFingerprinting</code>) stops Firefox from disclosing your color preference to websites, which means this add-on will have no effect. <strong>Website support</strong> This add-on relies on the fact that websites have their own proper stylesheets for dark and light modes, for example <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/16b38b0c9bb05d9b334c0c6a898711be299ebfacd115d094aa3e42d1448d0fce/https%3A//duckduckgo.com" rel="nofollow">DuckDuckGo</a>. An increasing number of websites now offer light and dark schemes, though you may need to select a specific option to inherit your browser’s colors, e.g. google, github, stackoverflow, and many more. If you want to add your own dark mode to other websites, you can use user style sheet addons such as e.g. Stylus. Then you can wrap the CSS in a <a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/6ae6ce9c8bac0f8645b356176429a64aaad6a3d09cebce3b34552a37d34abed3/https%3A//developer.mozilla.org/en-US/docs/Web/CSS/%40media/prefers-color-scheme" rel="nofollow"><code>prefers-color-scheme</code> media feature</a> so it responds to this add-on’s toggle. For example: <code> @media (prefers-color-scheme: dark) { /* CSS that ony applies to dark mode */ body { background: black; color: #ddd; } } @media (prefers-color-scheme: light) { /* CSS that ony applies to light mode */ body { background: white; color: black; } } </code>
User reviews
Extension files
Browse and explore files within this extension package
You reached today's free scan limit (3/3 unique extensions).
Upgrade for full visibility.
No network indicators were extracted from this version.
You reached today's free scan limit (3/3 unique extensions).
Upgrade for full visibility.