µBlock, a lean and fast blocker

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

  1. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,085
    Location:
    Italy
    Interesting conclusion.:thumb:
    My version of UBO Legacy is developed by Just Off, so I ran a compatibility test first, which ended positively.:)

    So I wonder what is the motivation for having 2 lists written with different rules?
     
  2. SeriousHoax

    SeriousHoax Registered Member

    Joined:
    Mar 27, 2019
    Posts:
    29
    Location:
    Bangladesh
    One for adblockers and the other one for host based solutions like system host file, pihole, dnscrypt-proxy, etc.
     
  3. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,406
    Location:
    The Netherlands
    Guys, how can I block the topmenu from thestreet.com? I block it with the element picker, but it keeps coming back, so I need some kind of global rule.

    thestreet.com 23-6-2020.png
     
  4. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,373
    Location:
    Under a bushel ...
    Can someone confirm there is no benefit to adding the Frogeye list in Custom filters with latest uBO (in medium mode) in Firefox 77.0.1?
    Later article: https://www.ghacks.net/2020/02/26/i...refox-version-as-it-offers-better-protection/

    It would appear so, but just want to be sure, cname is a little esoteric for me ... :)
     
  5. acid king

    acid king Registered Member

    Joined:
    Jan 19, 2019
    Posts:
    52
    Location:
    europe
    sample config
     

    Attached Files:

    Last edited: Jun 24, 2020
  6. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,042
    Location:
    Dubai
    What is the best list(s) to use for a n00bie to uBlock Origin? Last time I installed it, it broke some pages whereas ABP never did. Please give me your recommendation.
     
  7. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    3,031
    stick with the default and use the logger to find out the culprit whenever you have an issue. the logger is your best friend.
     
  8. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    1,895
    Don't try to add lists following the motto "the bigger, the better". Unfortunately, huge lists are often not particularly well maintained. And stay away from hosts files (or lists that are "converted" from hosts files just by removing the 127.0.0.1 :rolleyes: ) as they are very inefficient.

    For example, the "Energized Blu Protection" list contains 123 entries for doubleclick.net (for Linux users: grep -o "doubleclick.net$" domains.txt | wc -l ). Exactly one entry (namely doubleclick.net) would be enough for uBO to block all its sub-domains, consequently the other 122 entries are completely superfluous. This is also true for many other adservices/trackers as well and the reason why those lists are so inflated (among them https://dbl.oisd.nl/). More about this here.

    I still think that the notracking list mentioned earlier is a good and efficient list. A smaller but also efficient list is this one which is comprised of other well-known lists:
    .. the third one being the AdGuard Simplified domain names filter list.

    However note that that list contains several exceptions at its top, e.g., @@||www.googleadservices.com^ and @@||pagead.l.doubleclick.net^. I really don't know why - but you can easily override them with own filters with the important option or in uBO's Dynamic Filtering.
     
  9. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
    A remark about the list you recommended:
    In the sources I see:
    Code:
    https://www.malwaredomainlist.com/hostslist/hosts.txt
    That one is poorly (not?) maintained as well...
    Code:
    #               MalwareDomainList.com Hosts List           #
    #   http://www.malwaredomainlist.com/hostslist/hosts.txt   #
    #         Last updated: Wed, 22 Jan 20 12:15:23 +0000      #
    1104 entries.
    See also:
    https://github.com/uBlockOrigin/uBlock-issues/issues/984
     
  10. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    1,895
    Yes, on the other hand it also uses Steven Black's list which in turn uses several other malware lists. Sure, you could always add other big lists - but many malware domains are dead after 24 hours anyway because they switched to other domains. That's why uBO's medium mode (or using it together with uMatrix) is certainly the better approach.
     
  11. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,373
    Location:
    Under a bushel ...
    As a Firefox user, I have removed the Frogeye list, as point out by Sampei earlier.

    Curious: Is 'DMCA takedowns' still an issue, BarbBlock list still useful?

    Edit: And are those Disconnect lists e.g. simple_malvertising.txt actively maintained?
     
    Last edited: Jun 25, 2020
  12. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
    Regarding BarbBlock:
    I don't see any recent activity on the Github page...
    His Hosts file:
    Code:
    # BarbBlock
    # Version: 1.5
    # Last Update: 2019-05-26
    # Homepage: https://ssl.bblck.me/
    # Canonical URL for this file: https://ssl.bblck.me/blacklists/hosts-file.txt
    Another similar one blocking Admiral domains:
    https://raw.githubusercontent.com/smed79/blacklist/master/hosts/admiral.txt
    Seems abandoned as well:
    Code:
    # [INFO] --------------------------------------------------------------------- #
    # smed79 Admiral HOSTS list
    # HOSTS file list, designed to block getAdmiral.com domains
    #
    # Homepage: https://github.com/smed79/blacklist
    # Licence: (CC BY-NC-SA) http://creativecommons.org/licenses/by-nc-sa/3.0/
    #
    # In order to use this list, please use the following address:
    # https://raw.githubusercontent.com/smed79/blacklist/master/hosts/admiral.txt
    #
    # Last modified: 2019-10-04 11:11 UTC
    [Edit]
    Regarding the Disconnect lists:
    See:
    https://github.com/gorhill/uBlock/issues/3147

    PS,
    If you ever encounter a 'DMCA takedown' popup, just open an issue at Gorhills Github page and I'm sure he will take care of it rather quick.
     
    Last edited: Jun 27, 2020
  13. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,085
    Location:
    Italy
    The combination of UBO with uMatrix (with my browser I prefer Noscript) is undoubtedly beneficial.
    Using a list of few filters compared to lists around 150.000 - 180.000 filters does not bring any benefit.
    The increased RAM occupied is irrelevant, and the faster speed of opening web pages is imperceptible to the naked eye.

    Even in my pc that has an old processor and less than 1 GB of RAM, there are no problems with either RAM, nor with a faster speed of opening web pages.

    UBO with 165.416 network filters + 123.233 cosmetic filters:

    300.JPG



    :)
     
  14. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
    For Pale Moon you can use eMatrix (fork of uMatrix), which can now also uncloak trackers hidden by CNAME'd domains (resolve CNAME records), just like uBO!
    Screenshot-eMatrix.png
     
  15. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,406
    Location:
    The Netherlands
    Anyone? :confused:
     
  16. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
  17. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,282
    Location:
    Canada
    This one seems to work for me:

    Code:
    www.thestreet.com###UniversalTopNav
     
  18. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,085
    Location:
    Italy
    You are right.
    In addition, both Alessio Vanni and Giorgio Maone are, like me, Italian.:)
    Frankly, I think I'm more protected with Noscript.
    Some forum colleagues instead wrote me that I'm wrong.
    Obviously without going into the merits of my personalized settings.

    I don't know who is right.:cautious:

    I have been using Noscript for a long time.
    The developer himself taught me to configure it.
    By now I'm used to it.

    Several times I said to myself that I must also try eMatrix/uMatrix.
    I hope to have desire and time soon.;)
     
  19. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,406
    Location:
    The Netherlands
    You're a genius, this worked for me as well. :thumb:

    I wonder how you figured this out. The reason why I wanted to block it, is because it will cause a horizontal toolbar to show up, I hate that stuff.
     
  20. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    3,282
    Location:
    Canada
    Haha, I wish I was a genius, but not the case :D using the element picker, it offers several possible filters under the "Cosmetic Filters" heading. the first one didn't work, so I tried the one listed a few lines down, and it worked.
     
  21. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
    I tried that rule as well first and it completely removes the top bar, but I thought you wanted the toolbar to stay at the top and not follow you while scrolling.
    I didn't accomplish that unfortunately...

    Something similar is possible with the Google Search site with this rule:
    Code:
    www.google.com###searchform:style(position: absolute !important)
     
  22. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,406
    Location:
    The Netherlands
    OK I see, I just don't have the smarts to figure this stuff out.

    No I wanted to remove it completely. It did disappear when scrolling down, but it kept popping up as soon as I scrolled up.
     
  23. Ashanta

    Ashanta Registered Member

    Joined:
    Aug 21, 2007
    Posts:
    702
    Location:
    Europe
    @Rasheed187

    Try this, it works for me :

    www.thestreet.com###UniversalTopNav
    ##.m-header-ad--balloon.not-size-b.not-size-a.m-header-ad

     
  24. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    207
    Location:
    The Netherlands
    To let it stay fixed at the top, you can use the following filter I got from a person who has left this forum:
    Code:
     thestreet.com##+js(aeld, scroll, u(n(e,l,a)))
     
  25. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,406
    Location:
    The Netherlands
    Guys, thanks but for now I prefer to remove the menu-bar completely, I don't really need it. :thumb:
     
  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.