µBlock, a lean and fast blocker

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

  1. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    Certainly Kees1958 is an excellent filterlist. But it shows its real strength on real world tracking sites, as you find on https://www.ghostery.com/whotracksme/
    To reach a 100% score on the so called testsite you mentioned, you can use a much smaller list from the testsite author itself:
    https://raw.githubusercontent.com/d3ward/toolz/master/src/d3host.adblock
    But when you visit real world tracking sites you will see that this list does hardly anything.
    It means (and it is said before in this thread) that the so called testsite isn't a reliable benchmark for filterlists.
     
    Last edited: Jun 27, 2024
  2. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    Yes I know that forum members do not consider the test reliable.
    And that you can use the hosts file you mentioned but also the Hagezi filter lists to get a high test score.

    But for my purpose the above does NOT interest me.

    I use the test to see (I do not modify anything) that my setting of Ublock Origin in Firefox gets the same performance as uBlock Origin in Edge.

    If you or any other forum members know of a more reliable system,I am open to a demonstration.
    I will gladly read and judge any suggestions,if any.
    Thank you for your attention.
     
  3. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    Does it mean that you added Kees1958 to uBO in FF to get the same score as Edge without Kees1958? Or do you other things when the testresults differ?
     
    Last edited: Jun 27, 2024
  4. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    In both browsers I use Kees1958's lists.
    The results in both browsers are identical.
    99% score.

    In the case I would do other things,but by now I have some experience in choosing the lists I use,so it is just a proof confirming the goodness of my filter lists.

    Edge + UBO = 41956 network filters + 44939 cosmetic filters

    Firefox + UBO = 30581 network filters + 44838 cosmetic filters
     
  5. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    2,010
    Apart from a couple of standard lists, I don't use any "special" tweaks or lists and always get a score of 100 per cent with Firefox. Anyway, I really don't care about that score; I usually take such "tests" with a pinch of salt.
     
  6. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    I replaced, in both Edge and Firefox, the filter list
    • "EU US most used advertising supplement for Edge and Firefox build-in"

    with

    • "World's most used advertising and tracking networks"
     
  7. acid king

    acid king Registered Member

    Joined:
    Jan 19, 2019
    Posts:
    119
    Location:
    europe
  8. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    27,166
    Location:
    UK
    Can a website delay the showing of a cookie acceptance banner popup so that the website visitor may have already clicked on an item and therefore 'agreed' to the cookies ?
     
  9. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,292
    delay could happen, but it wont prevent the consent dialog. i know a site where i can surf on but when setting an option or starting a new tab i get the consent prompt.
    i use "consent-o-matic" which is really powerful. and ublock is also able to prevent showing such dialogs - ublock is not able to handle them, only blocking/hiding. quite a difference.

    what i achieved so far is to hide some special content dialogs with css in stylus
    Code:
    /*consent sp-message*/
    
    div[id^="sp_message_container"],
    frame[id^="sp_message_iframe"]
    {
        display: none !important;
        position: unset !important;
    }
    
    .sp-message-open body
    {
        overflow: visible !important;
        position: unset !important;
    }
    
     
    Last edited: Jul 15, 2024
  10. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
  11. Nanobot

    Nanobot Registered Member

    Joined:
    Jun 23, 2010
    Posts:
    485
    Location:
    Neo Tokyo
  12. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,292
    a typical google behavior. it also works for google & youtube pages, so its evil.
    except manifest and icons the extension for firefox is same. and ofc i have a backup, they are not able to prevent usage here, neither in developer mode nor if the extension get a wildcard name they cannot block. stupid google people.
    in fact, for edge, i also use the abandoned "Google & YouTube Cookie Consent Popup Blocker"
     
  13. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    9,145
    Location:
    USA
    I would assume that as the GDPR requires the cookie consent notices then anything that would prevent them is likely a violation.
     
  14. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,292
    GDPR is mandatory, but its just a dialog that cookies are set or needed. some pages dont require cookies but their ad partners. thats why mozilla firefox can block the basic variations of those dialogs and still improving. thats why i use some filters or css because nonsense in that cases and have no impact to functionality of page.
     
  15. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    EasyList - Cookie Notices is much more efficient than AdGuard - Cookie Notices.
     
  16. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    Deep restructuring of my filter lists in uBlock Origin for Edge/Firefox.
    Highlighting the elimination of:

    • “World's most used advertising and tracking networks” filter list by Kees 1958
    because so many links are blocked at the DNS level.
    The other content from other filter lists or no other possible action is needed.
    The elimination of:

    • “AG Disguised/original CNAME” filter lists
    because they are on the HaGeZi filter list at the DNS level.
    The choice to use:

    • EasyPrivacy (minified)
    is because the general rules in filter list would probably not be present at the DNS level.
    The replacement of AG cookie notices with:

    • EasyList cookie notices
    was necessary because of the increased performance of this filter list in various Italian-language Web sites.

    10.png
    11.png

    Almost the same total rules in the 2 browsers.

    Firefox = 97370 rules
    Edge = 97490 rules

    P.S.

    Minor restructuring also took place in other extension sectors.
    Performance,in web page opening speed,is now similar to that achievable uBlock origin Lite.

     
    Last edited: Jul 24, 2024
  17. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
    How can I set UBI to automatically kill those Google log-in pop-ups on EBAY?
     
  18. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    745
    Location:
    Milan, Italia
    Use µBO's element picker.

    I'm curious which browser you're using that you see this pop-up? I only see the Google sign-in option on the regular Ebay sign-in page, along with Facebook and Apple options. This, using a separate profile for any buying, selling, etc. on Edge, with no extensions.
     
    Last edited: Jul 26, 2024
  19. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
    Running Linux 100%. I use Firefox. As to when the Google pop-up occurs, here's the sequence: 1- I go to Ebay then 2- I search for a certain item (such as Final Fantasy IX for PS2) then 3- Ebay gives me a list of its search results then 4- I select an item on the ensuing search list then 5- Ebay shows page for the selected item. 6- It is on that page where Google pops-up its log-in thingee.

    BTW -- I did your suggested fix. It works! Thanks to the nth for your help.
     
  20. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    I use this filter rule in uBlock Origin, that I created earlier, using the element picker:
    Code:
    ||accounts.google.com/gsi/iframe/select$subdocument
    However, even with that filter rule disabled, I don't see the Google log-in pop-up on eBay. Perhaps it is blocked by one of my non-default Firefox settings, or by a non-default uBlock Origin filter list.

    Ah, that is good.
    I understand you created a filter rule, using the element picker?
     
  21. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,123
    Location:
    Hawaii
    Yes. I simply let Ublock do what it does -- & the dark side of the force was banished from Ebay. :p
     
  22. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    I disabled “block CSP reports.”

    There are several reasons.
    The first reason is that in Firefox (since version 99) “security.csp.enable” can no longer be disabled.
    The second reason is that AdGuard has also opted for this solution:

    https://github.com/AdguardTeam/AdguardBrowserExtension/issues/2452

    The third reason is that even without these extensions enabled the browser,in case of an attack blocks CSP:


    2.png

    Even with Edge it's the same.
     
  23. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    About blocking csp reports there's an extended and interesting discussion on https://github.com/gorhill/uBlock/issues/3140
    Because uBO only blocks potential spurious csp reports (not csp itself!) I don't see a problem using that option in uBO. It has nothing to do with 'attacks' or something like that.
     
    Last edited: Jul 29, 2024
  24. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    This is an very old discussion.
    Firefox 99 came out in April 2022.
    I cannot replicate in the website that is used as an example,in Firefox but also in Edge.
    I have 2 images in the first one the block CSP report is enabled in the second image it is disabled.
    CSP looks identical to me.



    10.png


    11.png

    So barring new evidence I'm sticking with the Firefox + AdGuard position.
     
  25. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    When the uBO setting Block CSP-reports is enabled I see in the FF-developer tools that this on the site https://scotthelme.co.uk really works.
    When I disable this setting, CSP-reports are allowed.
    It seems that there isn't a setting in FF that can do the same thing as uBO. BTW, Kees1958 and EasyPrivacy filterlists can also do this in this particular case.
    And for a clear understanding, I'm not talking about CSP itself. I can't add anything more to this topic, so for me the discussion ends now.

    Schermafbeelding 2024-07-29 172622.jpg
     
    Last edited: Jul 29, 2024
  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.