µ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:
    18,178
    Location:
    The Netherlands
    Yes, I was a bit confused, thanks for the help. :thumb:

    This trick only helps when you search from the addressbar, and not when you directly search from google.com, because that's what I often do to get access to auto-suggestions, which is turned of in Vivaldi, perhaps I will now turn it on. But the most important thing is that it will also work with the ''Search Google for'' context menu entry, this is what I use the most.
     
    Last edited: Jan 12, 2025
  2. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    google show same results for firefox when google is default search engine.

    but user can add their own settings.
    - open about:config
    - add switch "browser.urlbar.update2.engineAliasRefresh" and set it to "true".
    - go back to search settings, then user is able to add its own engine with the given parameters like "&udm=14"
    - select new engine as default

    or install some search extension to customize any.
     
  3. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    Ah, OK, thanks. But Google is not my default search engine in Firefox. I don't know if that can expain the different resuls that Rasheed and I had with the filter rule www.google.com##div.ULSxyf
     
  4. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    google.com##.ULSxyf
    is right, it's listed here 4 times, 3 with images and one with videos.
    but if you enter that tab "Products" it remains empty due this.
    so you need to refine the filter with the Inspector tool from browser, and you will get

    #res.FcOujd .ULSxyf

    some else elements
    .LnCrMe <-- picture to the very right
    #AkU20.A6K0A <-- other questions in the middle of page

    btw i switched to DDG months ago when google change to AI.
     
  5. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    Thank you, Brummelchen.
    I see you removed the "div" part.
    And as I said, I thought Rasheed wouldn't mind if the Google "Product" tab was empty.

    Thank you, Brummelchen. :thumb:
    I hope this is helpful to Rasheed, or anyone else who wants to do the same.
     
  6. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    you are welcome.

    concerning div.
    div means, its a not a span, a, img whatever.
    elements can share same class or id, but usual they do not.
     
  7. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    uBlock Origin 1.62.0 is now available for Firefox, no longer pending.

    (Firefox/ Extensions/ Manage extensions/ Tools for all add-ons (cogwheel)/ Check for Updates/ uBlock Origin 1.62.0 is offered)
     
  8. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    :thumb:

    ___________________________________________________________________________________

    Lately,I have been concentrating on checking trackers blocked in Firefox with the Privacy Badger extension using the browser's web development tools.

    Firefox's web development tool has the ability to show blocked trackers by highlighting the extension that blocked the tracker.
    In contrast, Edge's developer tool does not have this selectivity.


    I have noticed that some trackers blocked by Privacy Badger are not blocked by ublock Origin filter lists or my DNS level filter lists.

    An example in the image below of a trackers blocked by Privacy Badger (you can see this by using this extension):


    https://ibb.co/9V9q8nB


    I was wondering if other forum members can also perform this check?
    If there are filter lists that have the ability to block trackers that slip through?

    And if it is appropriate to add some custom rules.
     
  9. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    thats firefox advantage ;)
    badger is one replacement for umatrix here beside a pure domain blocker. currently this combination and adguard is running very smooth on any browser here. badger has other targets than ublock.
    for times adguard has 16 blocks, and badger 9.
    for edge you only can see red lines were are blocked, but no hint blocked from were, only "statustext" can show you a hint. eg "blocked: other"
     
  10. rdsu

    rdsu Registered Member

    Joined:
    Jun 28, 2003
    Posts:
    4,540
  11. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
  12. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    If you look at the PB counter in the website below,it seems to block 6 trackers:

    https://ibb.co/pdrZ9d6

    But on closer inspection with Firefox web development tools only 1 tracker is blocked by PB.
    If I disable PB,that one tracker is blocked by the filter lists I signed up for at the DNS level:


    https://ibb.co/tm4VJG8

    In this web site,so the usefulness of PB is equal to 0.
    But as I showed in the previous example this is not always the case.
     
  13. rdsu

    rdsu Registered Member

    Joined:
    Jun 28, 2003
    Posts:
    4,540
  14. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    :thumb:

    P.S.

    Yes I added the custom 3p rule and the script now gets blocked by uBlock Origin.
    So I'm wondering if I need to do a more thorough check of the trackers possibly blocked only by PB (which I will only use as a control) on the websites I usually visit.

    https://ibb.co/9srW2ZV
     
    Last edited: Jan 17, 2025
  15. rdsu

    rdsu Registered Member

    Joined:
    Jun 28, 2003
    Posts:
    4,540
  16. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
  17. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    give it a link please, your images are hard to read.
    but for the record - no content like that here.
     
  18. mantra

    mantra Registered Member

    Joined:
    Jan 25, 2005
    Posts:
    6,324
    hi
    is there a way to block videos ?
    for example newspapers video , they start automactly
     
  19. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    Look at the settings in your browser.
     
  20. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    On `edenviaggi.it`, `p.typekit.net/p.css` is redirected here by uBO with this rule:
    (uBlock filters – Privacy)
    Code:
    ||p.typekit.net/p.css^$stylesheet,redirect-rule=noop.css
     
  21. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    :thumb:;)

    Yes,I use DNS blocking,and I did not enable that filter list in uBlock Origin.

    ____________________________________________________________________

    However,thanks to PB,I checked all the websites I frequent.:confused::confused:

    I only had to delete one rule from NextDNS whitelist and add only 2+1 rules to uBlock Origin (+ AdGuard AdBlocker).

    I can confidently say that I have no need for PB.:D
    And I have increased the performance of block trackers.
     
  22. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    Why is this Google script not blocked by default by uBO? :confused:

    Haha, read this:
    https://confection.io/tags/news-google-com-swg-js-v1-swg-js/
    :argh:
     
  23. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    :D:D

    It's simple, because I disabled the uBlock filters - Privacy list.
    I use almost no privacy filter list in Ublock Origin only DNS privacy filtering.
     
  24. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    `*swg.js` is not in that list however (nor in EasyPrivacy or AdGuard Tracking Protection). ;)
     
  25. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    OK, I added :
    Code:
    ||news.google.com/swg/js/v1/swg.js$script,3p
    
    to 'My Filters'.
    Hope it won't break anything.
     
  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.