adblock-rust icon indicating copy to clipboard operation
adblock-rust copied to clipboard

ruadlist doesn't work right with Brave's adblocker

Open ghost opened this issue 3 years ago • 10 comments

Since Brave's adblocker announced it's compatible with UbO's filters, I used RuAdList-uBO.txt only to realize it doesn't support a filter including other filters like that. I ended up have to add each filter file of the ruadlist collection manually (so many of them!). It's somewhat worked, but still not as optimal as it is on UbO. On news.mail.ru there is still empty ad container boxes. These boxes should be removed (as they are on UbO). I'm always using dark mode, having a white box on a dark background make my eyes hurt. Please fix it.

Update: my guess is Brave's adblocker does not fully support all of UbO's features so filter lists like css-fixes-experimental.txt and js-fixes-experimental.txt doesn't work optimally, I might have to install Stylus and ViolenMonkey to use the corresponding fixes like when using with Adblock Plus as stated on the easylist forum. But, it shouldn't be the case! Brave's adblocker should be compatible with all UbO filters isn't it?

ghost avatar Dec 08 '22 01:12 ghost

@tn1997tn Brave offers a preprocessed version of RU AdList in the brave://settings/shields/filters page, which might be a bit easier to enable than adding all of the files manually. See below:

2022-12-07-194111_1288x441_scrot

Brave's adblocker should be compatible with all UbO filters isn't it?

adblock-rust is mostly compatible with uBO syntax, and getting closer over time. There's still a couple of differences but I'm working on getting them sorted out as much as possible.

still not as optimal as it is on UbO. On news.mail.ru there is still empty ad container boxes

Regarding particular filter list issues on news.mail.ru, @ryanbr could you take a look?

antonok-edm avatar Dec 08 '22 03:12 antonok-edm

@tn1997tn What issues are with news.mail.ru? what should I be looking for?

ryanbr avatar Dec 08 '22 06:12 ryanbr

@tn1997tn What issues are with news.mail.ru? what should I be looking for?

There is still empty white box (used to be ads container, ads blocked, but the container is still there). Not only on news.mail.ru page but on articles page too. UbO correctly blocked all of these empty white boxes.

ghost avatar Dec 08 '22 23:12 ghost

Enabled both Russian lists (RU Adlist, Adguard Russian) @tn1997tn What I'm seeing;

news-mail

Is this what you're seeing?

ryanbr avatar Dec 09 '22 10:12 ryanbr

It turned out you are even worse than me. Notice the area in the red rectangle, they are white boxes on my system.

206677282-f9578f23-7ac9-403b-a94a-e11fbc43eaf8

From this image, it seems Ru AdList simply not working for you!

ghost avatar Dec 09 '22 15:12 ghost

Plus, you are using normal Ru AdList for Adblock Plus:

    {
        "uuid": "80470EEC-970F-4F2C-BF6B-4810520C72E6",
        "url": "https://easylist-downloads.adblockplus.org/advblock.txt",
        "title": "RU AdList (Дополнительная региональная подписка)",
        "format": "Standard",
        "langs": ["ru", "uk", "be"],
        "support_url": "https://forums.lanik.us/viewforum.php?f=102",
        "component_id": "enkheaiicpeffbfgjiklngbpkilnbkoi",
        "base64_public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArVVgKRE868yup0HfX4+HyZmJVIk33AKivwvRRfjHRxeC+lLnRjNiY0LKS/K65J6SNLgUsZGfT5u4h4F423O/pbZl6zdfs5kOyStlmLPXhFtF/bIXIsUtdJ0R3dEz+nSg0C2L/FnE5Qr8M4thdmq/DIP1C70mj8pCnX1939hXyR0ymQkYp573O+LJ0q1L41jBqHzNKWngfBc79I2Kbt1pLluBT2X7zZVbb+1ap3Ad/VMeFDB2yurRs88cYJZOal7mgTgI/Zkuzsh2Dnql5+UNOCHinYjcOvUifGgkdsJIJxL57PxRzbriLCNjShoOV3Fpc0XYL1KSWvIVuW0bYeLmrwIDAQAB",
        "desc": "Removes advertisements from Russian websites",
        "list_text_component": {
            "component_id": "phmomndefejccjmpiehbogokakkmnmgb",
            "base64_public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtUdVZS1RGK6o+gfhEu1d8o061nYg/QCvHhojbyt09I3H+sc3lIr1cpK37msXq+DaFQ1LHbNk+9wTDfe7IIpvMFGSWx27P0T0mh63qjuFzfP5dSIDWhlCgPl8bUbHkf3e1bbNC1TAlGQDjZdxz7t/qDfslICWXLcKVz/1BtT/kG1PPrXjRq+NKBEqqV841RAIXnH4/LcfNLVCTs6EFvqRva4aN1DHuZdejLAMAbgR6JH0cMJ9RBO/5/ebZUL6C0XFjobgdj/2Rh+GYSrxL3jDql7jheKOrTbpJx81z3iUNwghrlHD56BbFs0eC3ZOAYHbIdYBkFIUPwpL78v5xyA94QIDAQAB"
        }
    },

(taken from https://github.com/brave/adblock-resources/blob/master/filter_lists/regional.json)

Ru AdList for UbO is https://raw.githubusercontent.com/easylist/ruadlist/master/RuAdList-uBO.txt

See this thread for more detail: https://forums.lanik.us/viewtopic.php?t=22512-%D0%BE-%D1%84%D0%B8%D0%BB%D1%8C%D1%82%D1%80%D0%B5-ru-adlist-%D0%B8-%D0%B4%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B5%D0%BD%D0%B8%D1%8F%D1%85

ghost avatar Dec 09 '22 15:12 ghost

Btw, please use only Ru AdList. As I recall Adguard said it's not recommended to use Adguard Russian with Ru AdList as it will cause conflicts. Please test the site mail.ru and post the screenshot so I could tell exactly if Ru AdList is simply not working for you!

ghost avatar Dec 09 '22 15:12 ghost

We don't support !include currently which limits support here @tn1997tn

ryanbr avatar Dec 09 '22 21:12 ryanbr

We don't support !include currently which limits support here @tn1997tn

Then I was right from the beginning. To use RU AdList for UbO, you will have to add each of these file manually:

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/adservers.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/first_level.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/general_block.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/general_hide.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/popup.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/specific_antisocial.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/specific_block.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/specific_hide.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/specific_special.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/thirdparty.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/advblock/whitelist.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/css-fixes-experimental.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/js-fixes-experimental.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/AWRL-non-sync.txt

ghost avatar Dec 09 '22 22:12 ghost

Update: You could use the preprocessed Ru AdList by Brave (https://easylist-downloads.adblockplus.org/advblock.txt) together with these filter lists:

https://easylist-downloads.adblockplus.org/antiadblockfilters.txt

https://easylist-downloads.adblockplus.org/bitblock.txt

https://easylist-downloads.adblockplus.org/cntblock.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/css-fixes-experimental.txt

https://raw.githubusercontent.com/easylist/ruadlist/master/js-fixes-experimental.txt

This is what I'm using and the number of filter lists to be added manually is greatly reduced. I still hope Brave could properly support !include though.

ghost avatar Mar 24 '23 07:03 ghost