a[href*="forbes.com"] {
color: red;
}
You can make it more restrictive (e.x. match the beginning of the attribute with ^=) if this results in false positives.If you don't just want red links you can also combine it with pseudo elements, e.x.
a[href*="forbes.com"]:after {
content: "[warning: forbes]"; /* or an emoji or something */
}
Unfortunately Chrome removed user stylesheets awhile ago, but there are 3rd party extensions (Stylish etc) which fake it.Stylebot lets me just write css, or can grab an element off the page and they give you a GUI to edit the most common style properties. The ability to just write CSS as simple as .stupid-ad { display: none; } is what I was after.
To anyone who wishes to do this, you can add more sites by listing them, comma-separated, except for the last entry, like so:
a[href^="siteone.com"]::after, a[href^="sitetwo.com"]::after, a[href^="sitethree.com"]::after { content: "[generic warning because multiple sites]" }
Host file.
forbes.com 127.0.0.1
At home I have a giant list of sites I've blocked for this.
#Requests I turn off uBlock. Doing them the courtesy of not giving them any traffic instead.
All it is doing is slowing their death. News which doesn't get consumed will die out.
I'm of the opinion that ad-based business models on the internet will not work much longer. I'm of the opinion that only three business models will survive the next decade:
1) Collecting and selling user data in bulk (Massive sites that have access to said data)
2) Paywalls (Most sites)
3) Donations (minority, tight knit communities)
Will the web be worse off for it? Potentially. But I see ads as extremely harmful to people and not something to be tolerated regardless of the reason. From the subtle control over peoples' psyche, serving malware, or even being straight up scams... I don't see advertisements as moral and think the world would be better off without them.
WestCoastJustin shared a great one-liner [2] for checking the list to make sure there were no nefarious entries; here it is without the unnecessary cat command:
grep -v '#' steves_hosts | awk '{print $1}'| sort | uniq -c
[1] https://github.com/StevenBlack/hostsadd this line to your host file:
0.0.0.0 taboola.com
https://gist.github.com/bcruddy/4a994621c7ba050b19ddc956769e...