Hacker News new | ask | show | jobs
by vesinisa 693 days ago
The implementation is literally just one style on the page:

* { font-family: monospace !important }

You can use e.g. Tampermonkey to inject this style on https://www.google.com/search*:

https://www.tampermonkey.net/documentation.php?locale=en#met...

2 comments

For just injecting CSS I prefer the Stylus addon.
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.

Doesn’t work on mobile (safari) though :(