2 ms·
It can do even more. I messed up the formatting for the rules it seems. The spaces should actually be two hashes. ##. Adding an extra capability as well.
by LinuxBender 4y ago
It can do even more. I messed up the formatting for the rules it seems. The spaces should actually be two hashes. ##. Adding an extra capability as well. It should actually be
# HN Color
news.ycombinator.com##html:style(background-color: #080808 !important)
news.ycombinator.com###hnmain:style(background-color: #121216 !important)
news.ycombinator.com##.age:style(color: #ccc !important)
news.ycombinator.com##.c00:style(color: #ccc !important)
news.ycombinator.com##.comhead > a:style(color: #dedede !important)
news.ycombinator.com##.comhead:style(color: #dedede !important)
news.ycombinator.com##.hnuser:style(color: #ccc !important)
news.ycombinator.com##.subtext > a:link:style(color: #ccc !important)
news.ycombinator.com##.subtext > a:style(color: #ccc !important)
news.ycombinator.com##.subtext:style(color: #ccc !important)
news.ycombinator.com##.title > a:style(color: ccc !important; background-color: #000000 !important)
news.ycombinator.com##a:link:style(color: #bdbdbd !important)
news.ycombinator.com##a:visited:style(color: #adadad !important)
news.ycombinator.com##a:hover:style(color: #fd0000 !important; background-color: #000855 !important)
# Filter some HN posts, anything with GPT, blockchain or that starts with a year
# top (title / url)
news.ycombinator.com##tr.athing span.titleline > a:has-text(/(GPT|blockchain|202[3-9]$)/):upward(tr)
# bottom (stats / comments)
news.ycombinator.com##tr.athing span.titleline > a:has-text(/(GPT|blockchain|202[3-9]$)/):upward(tr) + *