Image invert when it is white

try to take over the world!

Author
alextooter
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
0.1
Created
2021-01-16
Updated
2021-01-16
License
N/A
Applies to
All sites
A script to invert all images only when it first 120 pixels are white. This script is good for my eyes. I use it with Global Dark Style, which make the web page more elegant.

判断当前页面所有图片的前120个像素,如果高于给定值,就判断该图片为白色,并且反色显示之。配合Global Dark Style使用更佳。