Hacker News dark mode with uBlockOrigin / AdGuard cosmetic filters
Hacker News dark mode with uBlockOrigin / AdGuard cosmetic filters
Cosmetic filters are usually used to hide elements, but they can also be used to add CSS styles to the matching elements. Inspired by https://news.ycombinator.com/item?id=32719488, here are two rules to implement a dark mode on HN: news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg)) news.ycombinator.com##body:style(background: white) The first rule inverts all colors (white to black, orange to blue), then returns blues to oranges with a hue rotation. The second rule adds a black border in the margins around the main table (white + invert(100%) = black). To use these rules: - uBlockOrigin: open the preferences (right-click on the toolbar icon and cog icon, or via the extension list), and copy these in the "My filters" tab - AdGuard: open the settings and copy these in the "User rules" section
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Hacker News Dark Mode Userscript!
Hacker News Dark Mode
Hacker News dark mode userstyle with legibility improvements
DarkHN – Hacker News with Dark Mode
Hacker News in Dark Mode
Dark mode for Hacker News via web extension
Darker News for Safari (Dark Mode for Hacker News)
DarkHN – Dark Mode Mirror for Hacker News
Beautiful Hacker News with Dark Mode Support
A minimalist, dark mode Hacker News front page