µBlock, a lean and fast blocker

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

  1. guest

    guest Guest

    uBlock Origin 1.41.2 Released (February 10, 2022)
    Download - 1.41.2 - Firefox (AMO)
    Download - 1.41.2 - Chrome (Web Store)
    Download - 1.41.2 - Opera (Opera Addons)
    Download - 1.41.2 - Edge (Microsoft Edge Addons)
    It will take some time until the new version will be available on AMO, Chrome Web Store, etc.
     
    Last edited by a moderator: Feb 15, 2022
  2. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,240
    Location:
    Among the gum trees
    Awesome! I just found the dark mode. Is "Disable pre-fetching (to prevent any connection for blocked network requests)" in Firefox. Is that the new Network Blocker?

    Very nice! @gorhill.
     
  3. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,365
    Location:
    Italy
    Even with this feature, especially in chrome-based browsers you need to disable "Beacon" from UBO.
    Interesting that with Edge this is possible with the rule:

    Code:
    ||*$beacon
    instead in Chrome you have to insert:

    Code:
    ||*$object
    With Firefox it is possible in about:config.
    It is possible to verify with a test:


    https://armin.dev/apps/ping-spotter/
     
  4. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    Last edited: Feb 11, 2022
  5. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    226
    Location:
    Netherlands
    Sampei Nihira wrote:
    ... with Edge this is possible with the rule:
    Code:
    ||*$beacon

    For a long time I use in MS Edge / uBlock Origin the rule: ||*$object,ping.
     
  6. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,365
    Location:
    Italy
    No need to block ping with UBO in Edge.
    Try to delete that part of the rule.
     
  7. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    226
    Location:
    Netherlands
    Your simple rule ||*$beacon does everything. Thanks.
     
  8. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,918
    firefox prefetch, to prefer
    Code:
    network.dns.disablePrefetch;true
    network.dns.disablePrefetchFromHTTPS;true
    network.predictor.enable-prefetch;false
    network.prefetch-next;false
    or by policiy
     
  9. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    :thumb:
    Already set those prefs a long time ago.
     
  10. Krusty

    Krusty Registered Member

    Joined:
    Feb 3, 2012
    Posts:
    10,240
    Location:
    Among the gum trees
  11. plat

    plat Registered Member

    Joined:
    Dec 19, 2018
    Posts:
    2,233
    Location:
    Brooklyn, NY
    Just got the new dark mode in Firefox w/ version 141.2. Pretty nice. For some reason, Opera doesn't have the dark mode by default but still updated internally to 1.41.2. What do you-all think of the new dark mode? Not bad, huh?

    ubo dark mode.png

    Edit: OK, I see Krusty already discovered it. Yeah, it's nice.
     
  12. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,644
    Location:
    Under a bushel ...
    :thumb:
     
  13. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    I reverted back to light mode.
    Not enough contrast in the Filterlists pane:

    screenshot_20220212.png
     
  14. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    What does this feature do exactly, and why would you want to disable it?
     
  15. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    https://github.com/uBlockOrigin/uBlock-issues/wiki/Dashboard:-Settings#disable-pre-fetching
    And:
    https://en.wikipedia.org/wiki/Link_prefetching

     
  16. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
  17. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    I think you are misunderstanding. ;)
    I didn't disable "disable pre-fetching".

    https://dl.dropboxusercontent.com/s/v1y0qj7703b7ne3/screenshot_20220212-2.png

    Btw, "Uncloak canonical names" is not available in Chromium based browsers.
     
    Last edited: Feb 12, 2022
  18. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,918
    any current browser is able to disable prefetching in its settings, in special chromium based, not that complicated as firefox. there is no need to enable it in ublock.
    as this feature came up gorhill told so. at least i set cnameuncloak=false in extended uBo settings as it makes things more complicated as needed.

    its absolute not necessary to know that e.g. mozilla.com ends up in 12345678abcde.amazonaws.com and next access on 09876543fghij.amazonaws.com. it makes filtering pretty worse. cdn scoreuniverse is another example.

    btw i dont like the new blue buttons, orange was more visible to do something.
     
    Last edited: Feb 12, 2022
  19. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
  20. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,365
    Location:
    Italy
    I tried to check if Edge can capture CNAME trackers.
    But it fails.
    So only Brave,if we consider chrome-based browsers, has this capability.


    Is anyone able to verify if indeed Brave blocks CNAME trackers?
     
  21. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,918
    more click bait than important. you underestimate ublock.
     
  22. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    How is uBO supposed to block these trackers if they are not uncloaked and are not yet present in a filterlist?
    They will be seen as first party requests.

    @gorhill wouldn't implement this feature if it was not necessary.
     
  23. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    I don't use Brave and never will, but from:
    https://brave.com/privacy-updates/6-cname-trickery/:
    Code:
    dig 16ao.mathon.fr
    
    ; <<>> DiG 9.16.1-Ubuntu <<>> 16ao.mathon.fr
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49021
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 65494
    ;; QUESTION SECTION:
    ;16ao.mathon.fr.            IN    A
    
    ;; ANSWER SECTION:
    16ao.mathon.fr.        300    IN    CNAME    mathon.eulerian.net.
    mathon.eulerian.net.    7199    IN    CNAME    et5.eulerian.net.
    et5.eulerian.net.    7199    IN    A    109.232.193.177
    
    ;; Query time: 51 msec
    ;; SERVER: 127.0.0.53#53(127.0.0.53)
    ;; WHEN: zo feb 13 07:12:22 CET 2022
    ;; MSG SIZE  rcvd: 110
    
    [Edit]
    In this case 16ao.mathon.fr is already blocked by EasyPrivacy and AdGuard Tracking Protection.
     
    Last edited: Feb 13, 2022
  24. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    Not clickbait: ;)

    Large-scale Analysis of DNS-based Tracking Evasion - arXiv (pdf)

    https://arxiv.org/pdf/2102.09301
     
  25. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
  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.