
Toggle dark mode par Cimbali
Toggle the contentâs color scheme between preferring light or dark (or inheriting)
Vous avez besoin de Firefox pour utiliser cette extension
MĂ©tadonnĂ©es de lâextension
Ă propos de cette extension
For Firefox version â„ 95.
Minimal add-on
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 for browser content, between the following 4 values:
Fingerprinting incompatibility
Strong fingerprinting resistance (by setting the preference
Website support
This add-on relies on the fact that websites have their own proper stylesheets for dark and light modes, for example DuckDuckGo.
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
Minimal add-on
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 for browser content, between the following 4 values:
- dark colors
- light colors
- inherit browser colors (dark or light)
- inherit system colors (dark or light)
Fingerprinting incompatibility
Strong fingerprinting resistance (by setting the preference
privacy.resistFingerprinting
) stops Firefox from disclosing your color preference to websites, which means this add-on will have no effect.Website support
This add-on relies on the fact that websites have their own proper stylesheets for dark and light modes, for example DuckDuckGo.
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
prefers-color-scheme
media feature so it responds to this add-onâs toggle. For example:
@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; }
}
Ăvaluez votre expĂ©rience
PermissionsEn savoir plus
Ce module a besoin de :
- Consulter et modifier les paramĂštres du navigateur
Plus dâinformations
- Liens du module
- Version
- 1.0.1
- Taille
- 53,48Â Ko
- DerniĂšre mise Ă jour
- il y a 4 ans (19 oct. 2021)
- Catégories associées
- Licence
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- Historique des versions
Ajouter Ă la collection
Notes de version pour la version 1.0.1
Adding a keyboard shortcut option
Plus de modules créés par Cimbali
- Il nây a aucune note pour lâinstant
- Il nây a aucune note pour lâinstant
- Il nây a aucune note pour lâinstant
- Il nây a aucune note pour lâinstant
- Il nây a aucune note pour lâinstant
- Il nây a aucune note pour lâinstant