µBlock, a lean and fast blocker

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

  1. Bertazzone

    Bertazzone Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    422
    Location:
    Milan, Italia
    You're using default filters, which is by no means overkill.

    Decreasing your filters isn't warranted because these aren't making your browsing slower. You may disable cosmetic filtering globally (parse/enforce cosmetic filters > Unchecked) and this will reduce the number considerably, and you may or may not notice less efficiently clean web pages - depending on your browsing habits.
     
    Last edited: Dec 10, 2020
  2. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    3,288
    ditto.
     
  3. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    I don't need those lists in fact my personal lists cover more than those you use.
    Below is an example of my lists to make up for the lack of EasyList:


    https://github.com/Kees1958/W3C_annual_most_used_survey_blocklist

    https://raw.githubusercontent.com/DandelionSprout/adfilt/master/ExtremelyCondensedList.txt

    I can make a similar comparison for my privacy lists.
     
  4. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    3,288
    it's down to 9900 now.
     
  5. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    :thumb:
     
  6. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    380
    Location:
    The Netherlands
    10037 rules now. ;)
     
  7. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
  8. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    380
    Location:
    The Netherlands
  9. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    "Online Malicious Domains Blocklist".
    Which I have already subscribed to and highlighted in previous topics in this thread.

    With the new anti-phishing list the protection is more than enough for my needs.

    My current filters:

    40.426 network filters + 27.764 cosmetic filters
     
    Last edited: Dec 14, 2020
  10. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    380
    Location:
    The Netherlands
  11. PokerNemo

    PokerNemo Registered Member

    Joined:
    Nov 18, 2020
    Posts:
    13
    Location:
    NY
  12. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    :thumb:
     
  13. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    UBO must always read the rules it has to manage.
    You'll agree with me that managing a list of nearly 300,000 rules versus a list of 68,000 rules causes some extension response delay.
    This delay is certainly greater in older hardware and slow processors.

    And Raymond Hill can do as many benchmarks as he wants, but that's the reality.
     
  14. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    Code:
    ! The Most Abused Top Level Domains
    ! https://www.spamhaus.org/statistics/tlds/
    ||*.rest^$all
    ||*.gq^$all
    ||*.work^$all
    ||*.tk^$all
    ||*.ml^$all
    ||*.viajes^$all
    ||*.casa^$all
    ||*.london^$all
    ||*.cf^$all
    ||*.fail^$all
    ||*.surf^$all
    ||*.ga^$all
    ||*.cam^$all
    ||*.exposed^$all
    The fourteenth domain in the list (london) also has a respectable score of 2.32
     
  15. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    864
    Location:
    Canada
    Sure, "reading 300,000 rules vs 68,000 rules" would be something to worry about with a naive and/or flawed understanding of how uBO works internally.

    The reality of course is that uBO does not need to read 300,000 or 68,000 rules to find out whether a single filter matches.

    It needs to read only those rules which have at least one chance to match, and for those which have a chance to match, it can evaluate them in a way where many filters are tested at once (it's called a trie data structure).

    So in the end what you get is not "300,000 vs. 68,000" but conceptually something like "log2 300,000 vs. log2 68,000", which is "18.2 vs. 16.1" -- quite a lesser difference, and that is what the benchmark results demonstrate.
     
  16. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,243
    Location:
    Italy
    Thank you for your interesting explanation.:thumb:

    When I was much younger than now, and I attended the high school I wrote two software, if I remember correctly in Basic (if I remember correctly) for the calculation of large prime numbers, and the dilation of time to the approximation of the speed of light.
    On MS-DOS PCs I solved the problem of calculation speed with logarithmic scales *****
    Probably today 40 years have passed since those experiences as a student.
    You made me remember something that I had almost forgotten.
    :)

    P.S. The rules I use fully meet my needs.;):)


    ***** = Thanks to my slide rule.

    Regolo.jpg

    I also photographed the instrument upside down.....:isay::isay:

    :D:D:D
     
    Last edited: Dec 18, 2020
  17. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,089
    I think you should stop the largest/lowest contest here, not helpful and not relevant. IMO contests in general are not really appreciated here. And gorhill pointed out that it is utter waste of time.

    you better focus on lists and its news like the example above of an empty list.

    jm2c
     
  18. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,406
    Location:
    Canada
    This thread for months now has become more of a: "what filter lists are you using", and how some are modifying them. What seems to be largely overlooked is at how easily a typical drive-by attack can be stopped dead by enabling, for example, only 3rd-party frames filtering (Enhanced Easy mode).

    https://www.menlosecurity.com/blog/increase-in-attack-socgholish
     
  19. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    68
    I was wondering if someone can give me a hand of help. My mother visits a site https://filoitexnisfilosofias.com/ and ublock does not load it. You see a loading circle. If you stop ublock then the site loads. I took a quick look on the logger and i do not see anything quickly. Anybody has an idea?
     
  20. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,406
    Location:
    Canada
    If Advanced mode is enabled, you should be able to just noop (click inside cell to make it dark gray) filoitexnisfilosofia.com.

    Screenshot 2020-12-19 121352.png
     
  21. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,089
    I would say that following settings are vital for that page

    Code:
    fonts.googleapis.com allow
    gstatic.com allow
    fonts.gstatic.com allow
    wp.com noop
    WP/wordpress for some structure, the rest for fonts. gstatic is NOT bad.
     
  22. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    68
    This does not work for me? How is this possible?
     
  23. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,406
    Location:
    Canada
    First question: is the "I am an advanced user" checkbox enabled under Settings?
     
  24. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    68
    Yes of course it is
     
  25. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,406
    Location:
    Canada
    Interesting. It's blocked on my end now, even after I Nooped both 3rd-party filters and 3rd-party frames. I seem to have narrowed it down to a Peter lowe's filter causing the issue for googlesydication.com. Please try this filter in the "My filters" dashboard.

    Code:
    @@||pagead2.googlesyndication.com/pagead/js/*$script,domain=filoitexnisfilosofias.com
    Its working for me.

    You may also want to check out @Brummelchen 's post #5092. Try not to "Allow" domains. Using Noop is better, as it retains ad blocking, only allowing dynamic filtering such as 3rd-party scripts and frames.

    EDIT

    This site is really difficult at best. I found I had to "Allow" google.ca and google.com to get it to render consistently, otherwise it won't render on a subsequent attempts.
     
    Last edited: Dec 19, 2020
  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.