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.

当前为 2022-07-30 提交的版本,查看 最新版本

作者
adventuretc
评分
0 0 0
版本
18.1
创建于
2022-05-19
更新于
2022-07-30
大小
15.2 KB
许可证
CC-0
适用于
所有网站

cím: Dim overly bright webpages (remove white background)

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:
- Install the script.
- Install the complementary [userstyle](https://userstyles.world/style/5900/dim-overly-bright-webpages-css-variables) (you must install this in order for the script to work)
- visit a webpage and wait 3s, 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).

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址