-
Notifications
You must be signed in to change notification settings - Fork 9
Special filters
This is a list of special uBlock Origin filters you can use. Most of these are too specific to be put into a filter list, so they are just listed here:
meet.google.com##div.GDhqjd:has-text([text])
Please tell me if there is a better way to hide DDG results; this is just the one I found via the Element Picker
Block anything with specific text: duckduckgo.com,3g2upl4pq6kufc4m.onion,duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion##[data-nrn="result"]:has-text(Whatever)
Block anything with specific links: duckduckgo.com,3g2upl4pq6kufc4m.onion,duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion##[data-nrn="result"]:has(a[href="https://iam-py-test.github.io/nope/hidethisfrommyresults"])
The onion domains are for Tor users; you are free to delete them if you do not use Tor.
Please tell me if there is a better way to hide Google results; this is just the one I found via the Element Picker
google.com##.tF2Cxc:has-text([text])
[siteyouwantpopupsblockedon.com]##+js(aopw,window.onbeforeunload)
[sitewhoabuseswindow.name]##+js(aopr,window.name)
[website]#$#* ::selection {color:[newcolor] !important}
If you want it to apply to all websites, use *#$#* ::selection {color:[newcolor] !important}
.
Replace [newcolor]
with the color (i.e. red) and [website]
with the website (i.e. example.com).