uBlock Origin Filter Help
uBlock Origin Filter listThis is my personal list, where I make my own filters.
I also have a list for enterprise networks, where there is no fun allowed.
And also, a rules file that you have to manually add to the “My Rules” tab.
Oh, and just in case, arkenfox recommends âž— Actually Legitimate URL Shortener Tool and so do I.
Invert blocking (anti-blacklist)
@@||example.com/important$1p
Static network filtering
Complete domain
||blocked.tld^
Block a CSS section
example.com##.ads
Block something based off of tags
example.com##[href=“/sponsor”]
example.com##.table [src=“/ketchup’]
Types options
$script
$image
$css
$media
$1p
$3p
$font
$frame
$ping
$inline-script
$inline-font
$match-case
$xhr
Don’t allow a domain from another
||blocked.tld^domain=example.com
 Don’t block something, redirect to an empty/noop file
||example.org/folder/file$empty
||example.org/folder/file.js$script,redirect=noop.js
||example.org/folder/video.mp4$mp4
||example.org/folder/audio.mp3$media,redirect=noop-0.1s.mp3
||example.org/folder/image.png$image,redirect=2x2.png
Remove a URL parameter
example.org$removeparam=TrackerID
Static extended filtering
HTML filters
use view-source, not inspect element
example.org##^.badstuff
example.com##^script:has-text(whatever)
Scriptlet injection
Cookie remover
example.com##+js(cookie-remover)
example.com##+js(cookie-remover, cookie_name_regex)