µBlock, a lean and fast blocker

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

  1. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,825
    Location:
    The Netherlands
    BTW, can uBlock correctly block Facebook from tracking you on for example Google? A friend told me that he was looking for some info about airco's on Google and all of a sudden he got to see ads about airco's on Facebook. He does have third party cookies enabled because disabling this might cause problems on certain sites. And now that I think about it, how does FB track you on Google, because I don't see any third party cookies on google.com, so is Google perhaps sharing search results with other sites?
     
  2. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    I don't see any Facebook stuff in the logger on Google search.
    But if you click on a result, the page you go to might have a Facebook tracking pixel.

    I thought most Privacy lists already block these.
    And if he uses Firefox, he can also block cross-site tracking cookies (that includes social-media cookies):

    https://dl.dropboxusercontent.com/s/uefaxverh9w4tsl/screenshot_tracking.png
    As far as I know, Google doesn't do that.
     
    Last edited: Apr 15, 2021
  3. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,825
    Location:
    The Netherlands
    So uBlock can't block Facebook tracking, or what? Because if FB can't track you via third party cookies, then they can only track you via FB tracking pixels on those AC sites? And perhaps my friend should also enable Vivaldi's ad and tracking blocker.
     
  4. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,234
    Location:
    Italy
    It's a big mistake to have third-party cookies enabled.
    It may create an exception for some websites to malfunction.

    Kees1958's list targets precisely what seems to be your friend's problem:


    https://github.com/Kees1958/W3C_annual_most_used_survey_blocklist

    Interestingly, Opc9 has published on MT the trackers blocked by DuckDuckGo's Privacy Essentials extension:

    https://malwaretips.com/threads/https-everywhere-now-uses-duckduckgo%E2%80%99s-smarter-encryption.107721/#post-939063
     
  5. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,083
    its a bigger one not to filter it :D
    AFAIK FB has its own tracking system away from others. block FB sites and you are done.
    and again same question over and over again: ublock can block cookies if it can catch its scripts, but its not designed to do so. therefore i still use umatrix with 1st-party allowed and other in general blocked. the rest is handled with a cookie blocker/cleaner (cookie autodelete, cookiebor...) firefox will block by privacy setting and delete not allowed cookies.
     
  6. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,234
    Location:
    Italy
    Not quite accurate.
    View function:

    "cookie-remover.js"

    https://github.com/gorhill/uBlock/wiki/Resources-Library#cookie-removerjs-

    :)


    P.S. However in the answer to

    @Rasheed187

    I was referring to the control of the cookies of the browser, as I imagine he has done himself.


     
    Last edited: Apr 18, 2021
  7. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,083
    Thank you, its present and usable, but has its limits - i would say.
     
  8. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
  9. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    What are the limits of this function?
     
  10. SouthPark

    SouthPark Registered Member

    Joined:
    Jun 13, 2012
    Posts:
    560
    Location:
    South Park, CO
    uBO includes a Facebook-specific anti-tracking filter under Annoyances. It will break some embedded Facebook images on news sites, but I consider it a fair tradeoff.

    AntiFB.jpg
     
  11. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,234
    Location:
    Italy
    P.S.
    I inserted the rule for Google Translate in UBO Legacy.
    So a double rules considering the browser's cookies blocker.
    It seems to decrease the latency I was complaining about before entering characters from the keyboard.
     
    Last edited: Apr 19, 2021
  12. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,234
    Location:
    Italy
    Yuki2718 wrote:

    TH.
    My UBO Legacy is 1.16.4.28.
    I used this rule:


    Code:
    translate.google.it##+js(cookie-remover, ref_cookie)
    It works.

    P.S.

    I hope you don't mind if I put the text of your e-mail in this forum, it could be interesting for other members as well.
    Regards to Raymond.

    _____________________________________________

    Yuki2718 wrote:

     
    Last edited: Apr 19, 2021
  13. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,083
    from the link
    you need more than one rule to cover subdomain and domain (if not www.)

    minor nifty - its not user friendly at all, you need to know how to insert it manually into "My rules". i prefer a one-click solution like uMatrix which covers both with a nice dialog. but you need to know that umatrix dont block set the cookie, but it prevents reading out. a different way as ublock or firefox do. another cookie manager extends this behavior - delete on leaving domain, or keep (special) cookies.
     
  14. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    Thanks!

    I have uMatrix and a cookie manager, but as I understand, with this uBO function you can block one specific cookie.
    That cannot be done with the cookie manager I use (Cookie Quick Manager) as far as i can see.
     
  15. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,825
    Location:
    The Netherlands
    Yes, third party cookies is not a good idea, but some sites won't function when it's disabled. And I don't understand what Kees1958's list exactly does?

    Thanks, didn't even notice this filterlist, will try it. But perhaps you really need a browser like Brave and Firefox who seem to be covering more tracking techniques. It's clear to me that Facebook is using sneaky methods, otherwise uBlock would have blocked it. I sometimes also think that Ghostery is needed, it works just fine together with uBlock.
     
  16. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    68
    I have a problem: I cannot visit translate.google.com it redirects me to https://consent.google.com/m?continue=https://translate.google.com/
    Code:
    ! Hide Google Search consent popup 
    google.*##.widget-consent-fullscreen.widget-consent
    google.*##div[jsname][jsaction^="dg_close"]
    google.*##html:style(overflow: visible !important;)
    google.*##+js(aeld, DOMContentLoaded, CONSENT)
    google.*###gt-promo-lr
    google.*##div[class^="gb_"][data-cbh="consent.google.com"]
    google.*##.tlid-notification-container
    
    and this:
    Code:
    www.google.*##body.QVCmK:style(position: static !important; overflow-y: visible !important;)
    www.google.*##html.QVCmK:style(overflow-y: visible !important;)
    www.google.*###lb > div[id^="_"] > div[class*=" "]:not([id]):empty:matches-css(opacity: 0.7)
    www.google.*###lb > div[id^="_"] > div[class*=" "]:not([id]):has( > span > div[role="dialog"] > #cnsw > iframe[src*="://consent.google.com"])
    Also I oberved that if I try to go to a localized google, I get the localized consent. Any solutions?
     
  17. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    I think that issue has been discussed here before.
    The filters for the pop-up don't work any more.
    The redirect can be dealt with by denying consent.google.com to write cookies in your browser.
     
  18. rethink

    rethink Registered Member

    Joined:
    Jan 13, 2015
    Posts:
    68
    I blocked consent through firefox and still I cannot make it work. I do not seem to have a problem with youtube with the filters I use.
     
  19. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    And if you disable these particular filters temporarily (put an exclamation mark in front of them)?
     
  20. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,083
  21. Gandalf_The_Grey

    Gandalf_The_Grey Registered Member

    Joined:
    Jan 31, 2012
    Posts:
    898
    Location:
    The Netherlands
    uBlock Origin v1.35.0 Released (April 21, 2021)
    https://github.com/gorhill/uBlock/releases/tag/1.35.0

    Download - v1.35.0- Firefox (AMO)
    Download - v1.34.0 - Chrome (Web Store)
    Download - v1.33.2 - Opera (Opera Addons)
    Download - v1.34.0 - Edge (Microsoft Edge Addons)
    It will take some time until the new version will be available on AMO, Chrome Web Store, etc.
     
    Last edited: Apr 21, 2021
  22. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    367
    Location:
    The Netherlands
    Thanks!

    After permitting the use of cookies for these domains again, this seems to work now for the redirects as well.
     
  23. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    4,083
    ofc, you need to allow cookies, no matter which extension used. For me i use CookieBro or Cookie Autodelete (different profiles) to have unwanted deleted by conditions.
     
  24. Peter 123

    Peter 123 Registered Member

    Joined:
    Feb 1, 2009
    Posts:
    452
    Location:
    Austria
    I am not very experienced in using UBlock Origin - so please forgive me possible mistakes in expressions etc.

    Using it with Firefox (my standard browser) has become quite a pain during the last time (perhaps the last one or two months or so): I have the impression that it occurs on more websites than before that I have to modify the rules in uBlock Origin (permitting contents from additional URLs) in order to be able to use the site "normally".

    Today I discovered by chance that - at least in one case - it has to do only with Firefox whereas in Google Chrome all works smoothly. Here the specific example:

    It is https://www.discogs.com/ (a music-database)

    1.
    a) using Chrome:
    If I type the name of an artist (e.g. "Sinatra") a dropdown-list opens automatically (with appropriate entries in the database):

    [​IMG]

    b) using Firefox:
    If I type the name nothing happens (until I change the rules in uBlock Origin - see below):

    [​IMG]

    c) So looks uBlock origin:

    aa) with Chrome:

    [​IMG]

    bb) with Firefox:

    [​IMG]


    2. Going to the entry "Frank Sinatra" (https://www.discogs.com/artist/52833-Frank-Sinatra):

    a) using Chrome:
    As you can see, there are thumbnails for the albums left of their titles.

    [​IMG]

    b) using Firefox:

    The thumbnails are missing:

    [​IMG]



    3. What I have to do that dropdownlist respectively thumbnails work in Firefox too:

    I have to permit cloudflare.net:

    [​IMG]

    That's an URL that does not even exist when using Chrome.

    Is there something I can do that Firefox (+ UBlock Origin) works in the same way as Chrome (+ UBlock Origin)?

    Of course it's no big deal to permit cloudflare.net for discogs.com. But as mentioned in the beginning, it seems to me that similar obstacles (not necessarily with cloudflare.net) recently arise on many other websites too (I still did not compare with Google Chrome).

    I use:
    Windows 10 Home 20H2 (64 bit) / UBlock Origin 1.34.0 / Firefox 87.0 / Google Chrome (portable) 89.0.4389.82
     

    Attached Files:

    Last edited: Apr 22, 2021
  25. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    2,986
    Location:
    Location Unknown
    @Peter 123, just out of curiosity, are both browsers using the same blocklists? I don't mean uBo, I mean the browsers themselves. That could explain the differences you see.
     
  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.