Hacker News new | ask | show | jobs
by nilslindemann 699 days ago
For just injecting CSS I prefer the Stylus addon.
1 comments

I use uBlock origin for that.
Thanks. I would've never thought about it. For a few fixes I need, installing a new extension would be an overkill.
It can also remove tracking parameters from URLs (no clearurls addon needed) and remove spam from Google and duckduxkgo results via https://github.com/quenhus/uBlock-Origin-dev-filter (no ublocklist needed)
How do you use uBlock to inject CSS?
`example.com##h1:style(background-color: blue !important)`

See https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#... for the syntax.