Recommended Filters for uBlock Origin
NOTES
uBlock filters - Unbreak: While many of these rules seem unnecessary to me, you are free to leave it enabled, especially if you are adverse to breakage. A few strings from this list are inPrivacy Essentials.Peter Lowe'slists: His entries and more are inOISDand1Hosts.
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 Normal DNS Blocklist | add
or HaGeZi's Pro++ DNS Blocklist | add
Normal includes OISD, 1Hosts (Lite), Steven Black's list, Inversion Domain Name System-based blackhole list (DNSBL), and The malicious website blocklist, while Pro++ also includes 1Hosts (Pro), notracking, notrack list, and a few others. -
1Hosts (Pro) | add
or 1Hosts (Lite) | add
1Hosts (Pro) is much stricter thanOISD(see feedback); it retains domains thatOISDallowlists. 1Hosts blocks more than other lists and the maintainer is responsive to issues. I recommend using 1Hosts (Lite) on NextDNS while using 1Hosts (Pro) in uBlock Origin (uBO) because it's easier to troubleshoot breakages when they occur (i.e., lighter blocking at the DNS-level and stricter blocking at the browser-level). In other words, if you are adverse to troubleshooting site breakage, use the (Lite) list. -
OISD (full) | add
"The Best Blocklist" - OISD combines hundreds of lists and filters out the false positives. The maintainer is very responsive to false positive reports. It passes the "girlfriend test". I've yet to find a list that he hasn't heard of. Be sure to use thefulllist, notbasic.
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. -
DuckDuckGo Tracker Radar (Blokada) | add
⚠️ This will break your shit. Report false positives here.
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. -
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] -
Anti-paywall filters | add
[optional] This list blocks additional third-party requests and annoyances that are not covered in theBypass Paywalls Cleanfilterlist. -
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)." -
Windscribe clickbait list | add
[optional] -
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
Contributions
- 1Hosts
- Easylist
- uBlock Origin
- AdGuard
- DandelionSprout / Legitimate URL Shortener
- hagezi/dns-blocklists | mentions
- Ghostery extension
- DDG Tracker Radar (Blokada)
Support
I’m a one-person operation, working in mental health and running this page as a passion project in my time off. If you enjoy my work, please leave a tip! Your support is incredibly appreciated and allows me to dedicate time to this project 😊
Bitcoin: 334gaiEjn6wY1VksQvYe5L668JjtPEPyiM
PayPal: paypal.me (forthcoming)
