May it be the best eye-protect extension on earth.

Latest Version

Version
2.4
Update
December 21, 2022
Size
77.87KiB
Developer
Category
Users
20,000+
Rating
4.65363 ★
Manifest Version
3
Web Store Status
Languages Support
English
中文 (简体)
See more
Permissions
Storage
ActiveTab
See more

Eye Protector Extension

If my extension makes your life better, please consider buying me a cup of cola :)
https://www.paypal.com/donate/?business=RU6H2VWCNUPLY&no_recurring=0&item_name=For+the+users+of+my+free+app+to+make+an+donations+¤cy_code=CAD

Features:

1. It replaces colors which are *too bright*, not only white(#FFF), to a comfortable color.
2. After replacing the background color, if the text becomes unreadable, it will automatically change the text color to black(#000)
3. Similar to 2, after replacing the background color, if the border becomes unclear, it will automatically replace border color too.
4. You can add domains which you don't want to be changed to whitelist.
5. It will not change color of special elements with class like code/highlight/syntax.

--

2022/12/21 update:
1. Add compatibility support for pages in dark mode

ver2.0 Updates:

1. You can custom the replace color now.
2. Add Positive / Passive mode. Positive Mode means the extension will replaces color for all domains, while Passive Mode means it will not work by default.
3. Removed \"Force Replace Mode\" button, cause the extension can automatically decide if it should be turned on or not now.
4. Removed \"Change Border Style To Dashed\" feature as its usage is too low.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "__MSG_extName__", "description": "__MSG_extDescription__", "version": "2.4", "permissions": [ "storage", "activeTab" ], "icons":{ \t"16": "images/icon.png", \t"48":"images/icon.png", \t"128":"images/icon.png" }, "action": { "default_icon": { "19": "images/icon.png", "38": "images/icon.png" }, "default_title": "\u8bbe\u7f6e\u8bbe\u7f6e", "default_popup": "popup.html" }, "options_ui": { "page": "options.html" }, "content_scripts":[{ \t"matches":[ \t\t"http://*/*", "https://*/*" \t], \t"js":[ "js/utility.js", \t\t"js/main.js" \t], \t"run_at": "document_idle" }], "default_locale": "en"}
Read more