µBlock, a lean and fast blocker

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

  1. bjm_

    bjm_ Registered Member

    Joined:
    May 22, 2009
    Posts:
    4,453
    Location:
    .
    @mood
    Chrome is v1.19.6
    Thanks
     
  2. guest

    guest Guest

    :thumb:
    Usually it takes much longer (several days) to see a newer version on the Chrome Web Store but this time it was very fast.
     
  3. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,343
    Location:
    Italy
  4. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,871
    dshield 2.677 of 18.988, not helpful
    p.army 8.792 of 8.798, small, dont know

    compare to
    https://hosts-file.net/psh.txt
    ~184.00 entries.

    running here in total: 233.617 entries... and a blacklist for domains which cut most bad domains off.
     
  5. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,343
    Location:
    Italy
    Thank you so much for your opinion.
     
  6. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    These numbers are not particularly helpful because:
    Which means that after the next start of your browser and the next filterlists update the order of the lists loaded into memory can be different and, hence, the number of filters used in each list. For furher details see also here.
     
  7. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,871
    i know but the plain numbers without removing duplicates means a lot.
    btw should be ~184.000 entries.

    after import: 178.892 of 184.563, thats quite a lot more ;)

    anyhow such large list make ublock slow. thats why i prefer a domain block in my filters

    Code:
    !~~~tld-lock~~~
    ||*.app
    ||*.app^
    ||*.banking
    ||*.banking^
    ||*.bid
    ||*.bid^
    ||*.billing
    ||*.billing^
    ||*.bitcoin
    ||*.bitcoin^
    ||*.cash
    ||*.cash^
    ||*.click
    ||*.click^
    ||*.cloud
    ||*.cloud^
    ||*.club
    ||*.club^
    ||*.coin
    ||*.coin^
    ||*.cool
    ||*.cool^
    ||*.date
    ||*.date^
    ||*.email
    ||*.email^
    !...
    
    !keywords
    ||*banking*
    ||*billing*
    ||*bitcoin*
    ||*cash*
    ||*gratis*
    ||*pass*
    ||*password*
    ||*trial*
    
    few of a longer list, examples. i dont visit such domains and when i get a block i have the choice to whitelist the domain (or less filtering)
     
  8. gorhill

    gorhill Guest

    It does not, it makes no measurable difference on how fast each network request is processed. You can find out for yourself by using the built-in benchmark available in dev tools of uBO, compare the results with and without the large list, and there is no difference. This is not surprising given how pure hostname-based filters are stored internally (as TypedArray-based tries).

    For the details of the built-in benchmark tool, see:
    https://github.com/gorhill/uBlock/commit/5733439f629d

    By the way, filters such as ||*banking* will degrade uBO's performance: these can't be tokenized and thus can't be optimized -- each one of them will have to be visited for each network request. I can start to see a difference when I benchmark with all your "!keywords" filters in uBO.
     
    Last edited by a moderator: May 29, 2019
  9. Peter 123

    Peter 123 Registered Member

    Joined:
    Feb 1, 2009
    Posts:
    596
    Location:
    Austria
    Sorry if I interrupt another discussion.

    I have a strange problem with uBlock Origin (version 1.19.6):

    In order to turn off the annoying autocomplete function in Google I have added in uBO the following cosmetic filter:

    w w w.google.com##.aajZCb

    In general it works fine – with one exception:

    Google.com is also the homepage in my browser (Firefox), that means it is the first page that opens when I start Firefox.

    And in this case (= google.com opens as homepage) the deactivation of the autocomplete funktion does not work immediately: I have either to refresh google.com or I must change to another site and then return to google.com so that the filter works.

    The filter also works fine (= without the need of refreshing the page) when google.com is not the first page that opens in the browser.

    It can also be seen in the uBlock Origin window:

    - When google.com is opened as first page, the number that indicates the active cosmetic filter ("1") is not shown near the symbol (although the filter is in the list of "My Filters"):

    without Nr.1.jpg

    - After refreshing google.com (or in the other cases mentioned) the number "1" appears:

    with Nr.1.jpg

    Of course I thought of the possibility that it might have to do with the cache, but clearing the cache and then restarting the browser did not help. It seems that uBo ignores the existence of the filter when google.com is loaded as the first page. (The same happens with google.at or google.de.)

    Does anyone have an explanation or a solution for this behaviour? Thank you.
     
    Last edited: May 29, 2019
  10. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,871
    it seems bound to an event (mouseout/mouseleave) and thus used dynamically.
    parent div is .UUbT9 with that event.

    i have moved all google filters (only cosmetics) to stylus because it works anytime.
     
  11. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,546
    Location:
    The Netherlands
  12. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,343
    Location:
    Italy
  13. subhrobhandari

    subhrobhandari Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    780
    Please don't quote me on this as I am reiterating from memory, but as far as I know it takes a little time for addons to load after firefox starting. So any request made by firefox before uBO is activated will not be filtered. As far as I know there's no solution other than not loading any page before all addons are loaded.
     
  14. guest

    guest Guest

    uBlock Origin v1.20.0 Released (June 14, 2019)
    Download - v1.20.0 - Firefox (AMO)
    Download - v1.20.0 - Chrome (Web Store)
    Download - v1.19.6 - Opera (Opera Addons)
    Download - v1.15.24 - Edge (Microsoft Store)
     
    Last edited by a moderator: Jun 15, 2019
  15. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,920
    Same problem here. I could just disable JavaScript to fix it, but I'm wondering if there's a filter (list) that can be used to block blockadblock-related and similar popups.
     
  16. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    652
    Location:
    Milan, Italia
    On which sites have you seen this? I haven't encountered it yet.
     
  17. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,920
  18. guest

    guest Guest

  19. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,920
    Popup.png
    No, I get this popup after a couple of seconds:
     
  20. swami

    swami Registered Member

    Joined:
    Mar 24, 2006
    Posts:
    215
    AdGuard gives the same popup.
     
  21. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    Ublock origin here, filter lists:

    153,212 network filters + 93,482 cosmetic filters from:

    Parse and enforce cosmetic filters ticked, ignore generic cosmetic filters unticked, as well as * * 3p-frame block in my rules. Getting no such pop-up. I tried allowing cookies, still no pop-up. I used ublock origin's logger to check, #CookiePopup and .googlediv were colored yellow, thus they were hidden by a cosmetic filter, specifically Fanboy’s Enhanced Tracking List, the filter being "deutsche-vogelstimmen.de###CookiePopup"
     
  22. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    652
    Location:
    Milan, Italia
    I'm not getting it, but I use Medium Mode - which is what I recommend to others.
     
  23. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,920
    @Floyd 57 Thanks for your reply. I'm just trying to use your uBO setup. Maybe this will help to get rid of this annoying popup.
    @Bertazzone I tried Medium Mode but it broke too many websites here, so this is not an option for me. Anyway, thanks a lot for your help, which is very much appreciated.
     
  24. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    1,920
    I must be doing something wrong. I just can't get rid of this popup.:mad:
    Anyway, it's not really important; I will just ignore this website and move along. Again, thanks for your help, guys.:thumb:
     
  25. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,296
    Location:
    Europe
    Try using the ublock origin logger (google it) to see why. Don't give up :D

    Frankly, I've disabled annoyance lists cuz they block many useful stuff. I've had multiple cases where a site's functionality doesn't work cuz it needs to set cookies (which I clear on exit), but it can't show its popup for me to accept / acknowledge its cookies and thus the functionality remains broken. Those filters which used to do that were specifically fanboy's annoyance list and adguard annoyance list. That was months ago, I haven't done a test recently. I remember even disabling ublock annoyances, altho I've enabled it now and so far it's looking good. Malware domains lists are also pointless
     
  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.