Hacker News new | ask | show | jobs
Ask HN: Simple open source to remove the bright background on a web page?
2 points by 9o1d 385 days ago
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

Enable reader mode on your browser. It's built-in, no plugins needed. Open source is the wrong way.
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' })();

User scripts using TamperMonkey.

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

Locally.

Good luck.