Rules Converter Library
to the Devs: thank you so much for implementing this, really making the difference on desktop!
hope will be ported on mobile as well
thank you
- Edited
Are these going to be added as the default filter lists?
Base filter - https://filters.adtidy.org/extension/safari/filters/2_optimized.txt
Tracking Protection filter - https://filters.adtidy.org/extension/safari/filters/3_optimized.txt
Social Media filter - https://filters.adtidy.org/extension/safari/filters/4_optimized.txt
Annoyances - https://filters.adtidy.org/extension/safari/filters/14_optimized.txt
URL tracking - https://filters.adtidy.org/mac_v2/filters/17_optimized.txt
hagezi lists aren't needed because they're dns only, and have no cosmetic filtering or scriptlet injection
- Edited
@SerViette @joystmp @Vlad
Currently the performance between the default lists and the ones listed by joystmp is identical based on every test I have done. That includes the d3ward test and real world tests on some ad-infested sites such as https://www.bournemouthecho.co.uk/ and https://www.golem.de/. The performance is not at Firefox + uBlock Origin level yet but that is being worked on.
The ultimate goal would be to leverage the native blocker (incredibly fast, good performance and low resource usage) in conjunction with an optional advanced script-based blocking solution for the shortcomings mentioned by @Anatomy5803 — achieving a best of both worlds blocking experience.
To summarize, you should be fine with either block list configuration for now but exciting additions are on the horizon if all goes according to plan
If there are individuals who are well-versed in all things adblocking on WebKit, feel free to share your insights.
laiz
you can see difference if you load the "bypass paywall" filterlist because this now work.
I agree that a lot of cosmetic scriplet are not being injected at the right moment ( if you reload the second hit mostly work) that is mostly true for cookie banner.
I'm also in lockdown mode so could be some javascript doesn't work on my side
- Edited
these are the ios optimized that I use + bypass paywall and ublock badware risk
Base filter
https://filters.adtidy.org/ios/filters/2_optimized.txt
Mobile filter
https://filters.adtidy.org/ios/filters/11_optimized.txt
Tracking Protection filter
https://filters.adtidy.org/ios/filters/3_optimized.txt
Social Media filter
https://filters.adtidy.org/ios/filters/4_optimized.txt
Annoyances
https://filters.adtidy.org/ios/filters/14_optimized.txt
Adblock Warning
https://easylist-downloads.adblockplus.org/antiadblockfilters.txt
Badware Risk
https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt
Anti Paywall
https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt
Vlad Shure! On ios/ipados I use the following lists:
Base filter
https://filters.adtidy.org/ios/filters/2_optimized.txt
Mobile filter
https://filters.adtidy.org/ios/filters/11_optimized.txt
Tracking Protection filter
https://filters.adtidy.org/ios/filters/3_optimized.txt
Social Media filter
https://filters.adtidy.org/ios/filters/4_optimized.txt
Annoyances
https://filters.adtidy.org/ios/filters/14_optimized.txt
Badware Risk
https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt
Paywall
https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt
+Easylist for my language
system wide I use:
Lockdown Mode, the HaGeZi’s Pro and HaGeZi’s Threat Intelligence Feeds DNS Blocklists
The differences between Easy privacy and tracking protection by adguard can be seen on the tracking test you can find at https://coveryourtracks.eff.org
Easylist:
AG Tracking Protection:
On MacOs:
Base filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt
Tracking Protection filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt
URL Tracking filter (note that this isn’t suitable for iOs)
https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_17_TrackParam/filter.txt
Social media filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_4_Social/filter.txt
Annoyances filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_14_Annoyances/filter.txt
Anti Adblock Warning
https://easylist-downloads.adblockplus.org/antiadblockfilters.txt
plus:
- bypass paywall same as above
- uBlock Badware risk same as above
- Language specific filters
I use violentmonkey as userscript extension with the following userscripts:
AG Pop Up Blocker:
https://userscripts.adtidy.org/release/popup-blocker/2.5/popupblocker.user.js
Bypass Paywall:
https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=userscript/bpc.en.user.js
System wide also here:
Lockdown Mode, the HaGeZi’s Pro and HaGeZi’s Threat Intelligence Feeds DNS Blocklists
is not smooth and error free as using the same filterlists as with the AG app, also because the AG app uses more userscripts on top of what I’ve listed, BUT, I really feel the step forward of Orion in comparision to the previous rule converter library
Note before adding AG Annoyances as default, it can be broken into more smaller and dedicated lists since maybe someone might need more fine grained control.
From AG docs:
Annoyances filter blocks irritating elements on web pages. View rules. Includes the following AdGuard filters (all of them can be enabled separately from the Annoyances filter):
Cookie Notices blocks cookie notices on web pages. View rules
Popups blocks all kinds of pop-ups that are not necessary for websites' operation. View rules
Mobile App Banners blocks banners that promote mobile apps of websites. View rules
Widgets blocks third-party widgets: online assistants, live support chats, etc. View rules
Other Annoyances blocks elements that do not fall under the popular categories of annoyances. View rules
@Vlad the implementation of using the rules converter library clearly isn't done, because it doesn't seem to do scriptlet injection. Case in point, YouTube ads still appear.
Anatomy5803
That would be #7362
Nevertheless, I agree that this feature isn't exactly revolutionary until scriptlet support is also added. Based on the discussions I've been a part of, including custom support for that is on the roadmap but is not yet being worked on (the focus is currently on other adblocking features and fully supporting uBO).
chorizo
I tested the following on macOS using a fresh profile on Orion Version 0.99.129.3-rc (WebKit 621.1.2.111.4)
:
- Base filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_2_Base/filter.txt
- Tracking Protection filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_3_Spyware/filter.txt
- URL Tracking filter
https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_17_TrackParam/filter.txt - Social media filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_4_Social/filter.txt
- Annoyances filter https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/filter_14_Annoyances/filter.txt
- Anti Adblock Warning
https://easylist-downloads.adblockplus.org/antiadblockfilters.txt - Badware Risk
https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt - Paywall
https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt
This configuration left a lot to be desired on my setup.
- https://d3ward.github.io/toolz/adblock scored a very low 34%
- Ads got through on https://www.golem.de
- EFF test result
- https://www.bournemouthecho.co.uk ads were blocked as expected
For comparison, here's the default configuration Orion currently ships with.
- 100 % on d3ward test
- ads also get through on https://www.golem.de (this requires a German blocklist which AdGuard enables automatically. Curiously uBlock Origin on FF blocks everything without needing to enable German lists.
- EFF
- https://www.bournemouthecho.co.uk ads were blocked as expected
Could you clarify whether your experience is the same, or if I am missing something?
The inclusion of that many blocklists by default also comes with the risk of some sites breaking, as was the case back when Orion shipped with a preconfigured blocklist that was very effective but came with the downside of some cookie banners being blocked, rendering some websites (e.g. reddit) unusable until the user toggled the content blocker off, accepted cookies, and reenabled the content blocker. That is why the current default config is good enough, and that should also be the goal for Orion's default blocker configuration.
Moreover, including bypass paywalls lists by default is not something I'd recommend. Instead Orion should take a neutral stance, and let people pick whether they'd be willing to pay for content or not read it at all (or install workarounds at the cost of their own time).
laiz Hello, we are confusing the topics: I am not recommending any default filter lists, the thread is about the rules converter library and whether it can now apply filter lists without the ABP syntax.
I was asked to share my configuration to highlight the differences compared to the previous rule converter library and so I did.
For me, whatever the default filterlists are makes no difference as long as I can apply the ones of my choice especially on mobile, if on desktop I can have work arounds on mobile I'm more limited (adguard cannot filter other browsers other than safari in ios).
This new library may do better filtering (IMHO) if all rules were applied correctly. Some non ABP rules are applied, the bypass paywall is always mentioned because is easier to see if is working or not, cookie banner never get blocked in every configuration for example..
I Know the full potential of those filterlists because I see the result of them being applied thru the AG app so would be nice if Orion can apply them on his own natively without relying on extensions.
Going back to the comparision of the filterlists I must point out that from your screenshot I see that many rules have not been loaded; there should be a little over 200,000, and you have many fewer.
I created 2 new profiles with the latest Orion RC.
The blue profile is Orion default.
The red profile is Orion with the filter lists I mentioned above.
To try to be more neutral as possible, I did not load any specific language filter, no extensions installed and I disabled DNS filtering for the entire system.
here wins the default configuration:
here wins the alternative configuration:
unpaywall:
golem.de is half filtered in different ways:
golem.de on mobile:
youtube:
wins the default configuration that skips the ad while the alternative configuration obscures it by making you wait before playing the video.
so has stated above there are some script that are not applied but others do, the more notable the BPC.