Dim overly bright webpages (remove white background)

Removes #FFFFFF background color and optionally generates a userstyle that does the same. Search terms: remove white background, remove CSS, kill CSS, disable CSS, grey theme, dark theme.

À partir de 2022-07-29. Voir la dernière version.

Auteur
adventuretc
Évaluations
0 0 0
Version
17
Créer
2022-05-19
Mis à jour
2022-07-29
Taille
13,3 ko
Licence
CC-0
S'applique à
Tous les sites

Alternate names: Dim bright webpages, Fix bright webpages, Remove Blinding White Backgruond, Eye Saver, Remove CSS Colors, Disable CSS.

Removes #FFFFFF background color and optionally generates a userstyle that does the same.
Search terms: remove white background, remove CSS, kill CSS, disable CSS, grey theme, dark theme.

The userstyle-generating feature is useful if a website loads too slow or the script runs on it slowly or if you wish to alter the style manually. It can be enabled by editing the first line of the code (set the variable to "true").

There is also a commented-out timeout option at the beginning of the code, which is good for delaying the execution of the script for websites that load slowly (in several steps).

Instructions:
- visit a webpage and wait 10s, the script will then scan and learn the webpage.
- if a webpage looks broken, scroll to the bottom and click "Learn".
- to remove all learnt data associated with a webpage, scroll to the bottom and click "Remove data (for this website)".


What doesn't work:
- Youtube.
- Messenger has some bugs.
- Facebook probably has bugs.
- Quora profile pictures look grey.
What works:
- 99% of webpages.

I would recommend to exclude facebook, messenger, quora and github and enable Dark Reader for these specific websites only (possible).