3 ms·
This is the HN dark mode template. I hadn't realized that UBO could be used as a way of modifying content on a page, I thought it was a content blocker. Is this
by politelemon 3y ago
This is the HN dark mode template. I hadn't realized that UBO could be used as a way of modifying content on a page, I thought it was a content blocker. Is this an unintentional use of UBO?
https://letsblock.it/filters/hackernews-darkmode https://letsblock.it/filters/hackernews-darkmode
- JoshTriplett 3y agoAs I understand it, uBlock Origin has support for modifying CSS because sometimes sites pull stunts like hiding/dimming all their content with CSS and then un-hiding it in a script that also shows ads, or similar mechanisms. Using it to add a dark mode is certainly an unintended use, but an impressive one.
- codetrotter 3y ago> Using it to add a dark mode is certainly an unintended use, but an impressive one. I agree. But now that I think about it, light mode is actually up there or even higher, in terms of things that my computer makes me see that I don’t want to see. Begone, light at night!
- politelemon 3y agoThanks for the explanation, that makes sense.
- heyoni 3y agoI believe so. It even has a tool for selecting elements you want to remove interactively.
- Vicinity9635 3y agoI've tried a bunch of them, but settled on Dark Reader https://chromewebstore.google.com/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh https://chromewebstore.google.com/detail/dark-reader/eimadpb...
- freedomben 3y agoYep, if you want to add a dark mode for sites that don't have one, Dark Reader is hard to beat. Also first-class on Firefox Mobile
- deleted 3y ago[deleted]