Ask HN: Simple open source to remove the bright background on a web page?

2 points by 9o1d ↗ HN
I don't want to install complex plugins in the browser, because they get access to my data. I want to build it myself, but I have no idea.

4 comments

[ 3.1 ms ] story [ 33.4 ms ] thread
To endarken any page while you're browsing, just execute this javascript in a bookmark:

javascript: (() => { document.documentElement.style.filter = "invert()";document.documentElement.style.background = '#fff' })();

Enable reader mode on your browser. It's built-in, no plugins needed. Open source is the wrong way.
User scripts using TamperMonkey.

So you can run your own Javascript in your own browser.

Locally.

Good luck.