Recommended Filters for uBlock Origin
NOTES
uBlock Origin works best on Firefox:
- Cosmetic filters to hide first-party ads (e.g., YouTube ads), ad-placeholders, web annoyances, etc.
- Block DNS requests from being sent in the first place (Firefox only) 1
- uBlock Origin can do more compared to when only blocking requests at the DNS-level
Why should I use these lists?
https://how-i-experience-web-today.com/
Custom Filters
All-Purpose
-
HaGeZi's Pro++ DNS Blocklist | add
Pro++ combines Hagezi's own lists with respected community blocklists like OISD, Steven Black's list, 1Hosts (Pro), notracking, notrack list, and more. Hagezi maintains a sensible allowlist and handles false positives quickly. He also communicates known issues to community blocklists maintainers. -
iam-py-test's Combo List | add
A compilation of lists to block malware, scams, phishing, and some tracking in uBO. It includes lists I mention below like Dandelion Sprout's Anti-Malware List, Actually Legitimate URL Shortener Tool, The malicious website blocklist, and iam-py-test's anti-typo list.
Privacy
-
Privacy Essentials | add
A curated list for advanced hardening. Includes site requests likeconnect.facebook.comand more that are not covered by uBO's default settings. It also includes my click2load filterlist^what is this?. Compliments uBO in medium mode. Note: This list breaks third-party logins. -
Privacy Extended | add
This filter list is a fork of AdGuard Tracking Protection filter. It eliminates extra allowlisting caused by different methods between uBO and AdGuard, and resolves issues faster if the problems are inconsistent between uBO and AdGuard. Privacy Extended also removes redundant filters found in EasyPrivacy.
URL Tracking Parameters
Add the functionality of ClearURLs to uBO. For either list, if you find websites with tracking parameters or experience breakage, you can submit those here.
-
Actually Legitimate URL Shortener Tool | add
As of October 2022, this list also includes all entries fromAdGuard's URL Tracking Protection. -
ClearURLs for uBO | add
[optional] This list may break websites, and contains possibly-problematic rules. There is not much the maintainers can do, as this list is just the ClearURLs rules converted into a filterlist.
Fonts
- Block third party fonts | add
[optional] A successor toFanboy's Anti-thirdparty Fonts, this option blocks all web fonts from third-party providers but allows the browser to download fonts from first-party domains. I prefer this method as it does not require the extra connection to a third-party domain (speed and privacy); and, since I trust the first-party site enough to connect to it, I do not take on much additional privacy or security risks when I allow my browser to download a font directly from them.1 Note: This will break the "look and feel" of many sites.
Security
-
Dandelion Sprout's Anti-Malware List | add
Blocks heavily abused top-level domains (TLDs) and even search engine results for them. Blocks domains used in malware redirection trains and in domain parking schemes, as well as sponsored Windows PUP nags on PC guide articles. Mass blocking of domains belonging to bad IPs, and has many other subcategories that give it a solid advantage over similar lists out there. -
Most Abused TLDs | add
Blocks likely abused TLDs. Merged from my ownEnhanced website protectionlist,Dandelion Sprout's Anti-Malware List, and Spamhaus statistics. -
Enhanced website protection | add
A supplement toDandelion Sprout's Anti-Malware List. Block more abused TLDs for extra security. -
The malicious website blocklist | add
This version includes author comments, vxvault.net's list, iam-py-test's anti-PUP list, and additional rules for uBO.
Annoyances
-
yokoffing's Annoyance List | add
A curated annoyance list that captures nuisances missed by other maintainers. It also cleans up the cludder around many sites (e.g., related articles). -
Browse websites without logging in | add
[optional] -
Bypass Paywalls Clean filter | add
[optional] [experimental] The Bypass Paywalls Clean (BPC) filter is from the same developer as the add-on implementation. You do not need this filterlist if you use the extension. Moreover, the add-on covers more sites than the filterlist. "Disclaimer: the list doesn't support as many sites as the extension/add-on does ... (and even less on iOS)." -
Anti-paywall filters | add
[optional] This list blocks additional third-party requests and annoyances that are not covered in theBypass Paywalls Cleanfilterlist. -
uBlock-Origin-dev-filter | add
[optional] Filters to block and remove copycat-websites from DuckDuckGo, Google and other search engines. Used to be specific to dev websites like StackOverflow or GitHub, but it currently supports others like Wikipedia. Supports StackOverflow + GitHub + NPM + Wikipedia + SEO Spam.
Reading
uBO-specific
- How to test filters
- Toggle on advanced settings
- Dynamic filtering | video
- Medium Mode | video | warning
- Overview of uBlock's network filtering engine (graph)
- Resources Library
- Empty redirect resources (clicktoload.html)
Filter Creation
- filterAuthorMode
- Introduction to basic filtering syntax
- Static filter syntax
- Syntax Meanings That Are Actually Human Readable
- How to block div:nth-of-type
Security
Mentions
Guides
- FMHY: uBlock Filters → yokoffing/filterlists
- knapah/uBlockOrigin-Filterlist
- hagezi/dns-blocklists → Recommendation
