Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Can Websites track my Theme?

  • 2 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από Amelia

more options

Can websites i visit track my browsertheme for example system default or light or dark theme? I like the dark theme but i'm not using it because i fear it makes my browser much more unique, is that so? If so, is there a preference or another way to prefent websites from tracking my browser theme?

Can websites i visit track my browsertheme for example system default or light or dark theme? I like the dark theme but i'm not using it because i fear it makes my browser much more unique, is that so? If so, is there a preference or another way to prefent websites from tracking my browser theme?

Επιλεγμένη λύση

Yes, websites can see if you are using a dark or light theme via a css query, allowing javascript to find out and do something about it. For the nitty-gritty, look here https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

the browser.theme.content-theme preference can be used to change what Firefox does when it comes to this, note it affects settings and internal pages. It is an integer value with the following meanings:

0: Dark mode on everything (except private browsing, that disallows dark mode like that altogether, but can be changed by another preference) 1: Light mode on everything 2: Follow system theme (detect what the system theme is and use that) -- Default 3: Follow Firefox theme (what color the tab text is in -- if the text is bright (white) it would contrast on black, and therefore would mean you have a dark theme)

Ανάγνωση απάντησης σε πλαίσιο 👍 1

Όλες οι απαντήσεις (2)

more options

Really? They can't? I think cor-el or jscher2000 told me they can, but then again how can i block that sort of spying? Any prefs?

more options

Επιλεγμένη λύση

Yes, websites can see if you are using a dark or light theme via a css query, allowing javascript to find out and do something about it. For the nitty-gritty, look here https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

the browser.theme.content-theme preference can be used to change what Firefox does when it comes to this, note it affects settings and internal pages. It is an integer value with the following meanings:

0: Dark mode on everything (except private browsing, that disallows dark mode like that altogether, but can be changed by another preference) 1: Light mode on everything 2: Follow system theme (detect what the system theme is and use that) -- Default 3: Follow Firefox theme (what color the tab text is in -- if the text is bright (white) it would contrast on black, and therefore would mean you have a dark theme)