µBlock, a lean and fast blocker

Discussion in 'other software & services' started by gorhill, Jun 23, 2014.

  1. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    are u non-unique on amiunique.org ? if not seems bit pointless

    upload_2021-5-10_22-26-50.png

    Such is the price of having the newest chromium builds
     
  2. SouthPark

    SouthPark Registered Member

    Joined:
    Jun 13, 2012
    Posts:
    737
    Location:
    South Park, CO
    Using approx. 97,000 + 64,000 cosmetic filters here on Firefox without NoScript or uMatrix.; mostly default filters except 'I don't care about cookies' and the Curben anti-phishing list. (Fanboy's cookie list, though smaller, was blocking too much.) I avoid the AdGuard lists on uBO because they have a lot of regex's.
     
  3. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,561
    Location:
    The Netherlands
    Guys, this site from a Dutch drugstore loads quite slowly when ad-blockers are enabled, is there any way to fix this? It happens with uBlock and with Vivaldi's adblocker.

    https://www.kruidvat.nl
     
  4. plat

    plat Registered Member

    Joined:
    Dec 19, 2018
    Posts:
    2,233
    Location:
    Brooklyn, NY
    Ha, inadvertent thanks Rasheed--turns out some uBO lists had to be updated today.

    Do you visit this site a lot? With uBO off in Firefox, it loads virtually at once. With uBO enabled, on here it adds about 1.5-2 seconds. If one has a potato cpu, I can see this being a real PITA if you need to shop there ASAP.

    I disabled cosmetic filters to check and the load time stayed the same. Didn't check if changing the DNS resolver would make any difference, though. I'm using Cloudflare myself right now. That site is kind of a mess without a content blocker so patience is a virtue, Rasheed. :)
     
  5. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    This happens when you block google tag manager, which subsequently blocks google analytics and everything. If u allow them, this doesn't happen. And u can block google analytics and the likes without blocking google tag manager, so just because u're not blocking google tag manager, doesn't mean you're not blocking google analytics and the likes.

    So, if we make a performance profile, we can see what happens in incognito mode without blocking anything:

    upload_2021-5-16_20-34-20.png

    And then the profile when u use ublock origin and block the tracking:

    upload_2021-5-16_20-34-50.png

    As we can see on the screenshots, there are about 2500 (from around 1100 ms to around 3400 ms) milliseconds where the screen stays white. But why?

    Well if we go right around the time it becomes white, and then slightly earlier, we can see Reculcalate Style and Layout. So it must be cuz of this, I think? Anyway back to my other stuff.

    If someone wants to pick up from here (i'm very close to the bottom of this), u just have to see why the DOM becomes white when analytics are blocked and then go from there to figure out a solution

    Press F12, go to Performance tab, record a page load, have fun
     
  6. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    892
    Location:
    The Netherlands
    Loads not instantly (i5, 16Gb RAM), but what do you expect with such a resource heavy site...
    First world problem. When I was young, you had to go to the store to see what they offered, haha.
     
  7. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    892
    Location:
    The Netherlands
    You can allow google tag manager. It's redirected by uBO to a surrogate script.
    Code:
    ||googletagmanager.com/gtm.js$script,redirect-rule=googletagmanager.com/gtm.js
     
  8. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    Is it just me or does AdGuard feel snappier? I mean in terms of loading websites.

    On a side note. Google Chrome displays a warning that AdGuard is an extension that may slow down Google Chrome.
     
  9. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,065
    Location:
    Canada
    :argh: ...that really hits home :D
     
  10. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    892
    Location:
    The Netherlands
    Of course Google is saying that. They're an advertising company.
     
  11. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    I noticed that.

    upload_2021-5-16_21-22-8.png

    I noticed that. Doesn't change a thing tho.
     
  12. Antarctica

    Antarctica Registered Member

    Joined:
    Feb 25, 2003
    Posts:
    2,180
    Location:
    Canada
    Well, on my side AdGuard is definitely slower. I have a lifetime license and I tried it again last week, but after a couple of days I come back to uBlock origin.
     
  13. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    same here.
     
  14. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,942
    and here. I used AG for a couple of months and liked it, but it did slow things down here, so I eventually also went back to uBlock Origin.
     
  15. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    Weird, for me with uBlock Origin, there is a 1-2 second lag before the site starts loading vs instant loading with AdGuard and I have the most basic filters on uBlock Origin nothing excessive. Just Easy List and Easy List Privacy. Not even the built-in uBlock filters
     
  16. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    you know, those filters are not just some extra filters. they're lists that are optimized for ubo or complementary to third party lists.
     
  17. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    ohhh, thanks for the clarification.
     
  18. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    you got it. ;)
     
  19. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    892
    Location:
    The Netherlands
    Especially "uBlock filters – Unbreak" is important:
    Code:
    ! Description:
    !     Filters optimized for uBlock Origin, to unbreak sites broken as
    !     a result of 3rd-party filter lists enabled by default.
     
  20. gorhill

    gorhill Guest

    Why would you compare a crippled uBO to a non-crippled AdGuard?

    For an honest comparison with AdGuard, unselect AdGuard's own lists and import only original EasyList and EasyPrivacy, just as you did in uBO.

    Just like AdGuard, uBO has it's own complementary lists to be used with EasyList and EasyPrivacy for optimal filtering. uBO's default set of lists is a minimal requirement for evaluating uBO versus other blockers.
     
  21. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    Last edited: May 17, 2021
  22. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    I'm not, I just got to know about these filters.
     
  23. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,561
    Location:
    The Netherlands
    Actually it's not that heavy, but I think it's just bad design because even without any script-blockers it also is a bit slow to load. And I always do my product research online, that's what I love about the internet!

    You are a genius! That fixed it for me and I also applied it to jumbo.com which has the same problem, it's a Dutch supermarket. I guess those webdevelopers are complete idiots or what, how didn't they notice this problem?
     
  24. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,561
    Location:
    The Netherlands
    With or without uBlock and Vivaldi's adblocker, sites like kruidvat.nl and jumbo.com load slowly, so it's bad design. I can't stand these kind of websites that have a delay of about 2 to 3 seconds.
     
  25. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    You can do it yourself, if you learn html. and css. and javascript. maybe add typescript. and sass. then learn some front end frameworks. and back end frameworks. make some sites. ez.
    Oh yes don't forget apache/nginx. and how to get your own certificates. and get a domain. and port forward your router so the domain can point towards your name. oh yes and xampp cuz you will need database. oh yes that reminds me, u also need learn sql databases. Oh yeah and also how protocols work, rest apis etc. Not very hard. And then u will be able to build your own website literally from scratch and upload it so everyone can see it, ez. There's also some other stuff like webpack etc. But those are not that important for starters. Make sure to master html and css before you start js. Otherwise it will be a hot mess. https://ilovecoding.org/courses/htmlcss2 Have fun!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.