µ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
    I don't think there are conflicts. Because LibreWolf adds Legitimate URL Shortener to uBO and both filters are activated:


    Schermafbeelding 2023-10-03 151927.JPG

    Edit: Probably some people don't see this as a recommendation because of LibreWolf. ;)
     
    Last edited: Oct 3, 2023
  2. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    I'm not sure what you mean exactly, but I get clean links in both Firefox and Chromium.

    For example, the notorious 'ved'-parameter is rendered non-functional by an Adguard scriptlet:
    Code:
    www.google.*##+js(remove-attr, ping, div[id="search"] a[data-ved][ping])
    'data-ved' can be seen in the source code of the page:

    screenshot2.png

    The '$removeparam' filters are network filters and I expect them to behave as such, i.e. not hiding but block.
     
  3. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    dont know if this filter is used here. i just re-worked on my script - was needed due the new result list. it now recognize page changes and remove the attributes like ved data-[any], jsname, jsaction and some more when the list is scrolled down. this makes really fun again.

    all those data are script used, they were read when you click a link. no data, no hassle.

    the line you gave me is nearly the same:
    Code:
      links1[i].removeAttribute("data-ved");
      links1[i].removeAttribute("data-usg");
      links1[i].removeAttribute("data-jsarwt");
      links1[i].removeAttribute("data-rb-store");
      links1[i].removeAttribute("jsaction");
      links1[i].removeAttribute("jsname");
    with a mutationobserver for page chages it will be rerun.
     
  4. Compu KTed

    Compu KTed Registered Member

    Joined:
    Dec 18, 2013
    Posts:
    1,448
    Using uBO 1.52.2 and under Filter lists -> Built-in 5/5 I have NO filters listed.
    Missing the 5 Built-in uBlock filters lists.
    Also under Annoyances 1/16 I have only 4 listed. Missing the other 12 lists.
    What's going on with default lists missing in uBO 1.52.2?
     
  5. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    I discovered that you have to be careful with removing the 'usg' and 'ved' parameters.
    From Actually Legitimate URL Shortener Tool:
    Code:
    ||google.$removeparam=ved
    @@||google.*/url?$removeparam=ved
    !#if env_chromium
    $removeparam=usg,domain=~translate.googleusercontent.com|~google.*
    !#endif
    And an exception here:
    Code:
    @@||google.*&tbm=isch&*#imgrc=$removeparam=usg
    
    https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-875053
    https://github.com/DandelionSprout/adfilt/issues/710
     
  6. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    Regarding that again, forgot I already asked that here.
     
  7. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    That doesn't sound right. I don't know what can cause that.
    Is there a change chance those lists are not visible because they are collapsed/hidden on your filter lists page? Visibility can be toggled on/off. But I doubt if that can be the reason for what you see.
    Could you make a screen capture to show us what you see?
     
    Last edited: Oct 4, 2023
  8. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    Ah, thanks, nicolaasjan.
     
  9. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    18,178
    Location:
    The Netherlands
    So this filter offers the same as Privacy Badger, correct?

    I decided to try it on Firefox, and it works out of the box. On Vivaldi it doesn't do anything, because of the problems with Chromium. But it couldn't correctly save a certain page on imdb.com, so it's not perfect. I might try it on other websites, and simply use Firefox (or Waterfox) for this.
     
  10. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    18,178
    Location:
    The Netherlands
    BTW, I had the same problem years ago. I actually didn't even know that uBlock could remove those text based ads on Google Search. I haven't got a clue what filter started blocking it all of a sudden. But it's a good idea to block ads on Google, because they are often being abused by hackers, see this thread:

    https://www.wilderssecurity.com/thr...s-to-spread-malware-in-legit-software.449530/
     
  11. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    18,178
    Location:
    The Netherlands
    BTW, I also often make cosmetic filters in order to remove blank ad spaces. I have never understood why uBlock can't always automatically remove them. I've just tested it on Vivaldi, Edge and Firefox, and on this page it doesn't remove them. But in Waterfox however, it does remove them, very weird. AFAIK, I'm using the exact same uBlock settings and filters on all of the browsers.

    https://www.androidauthority.com/microsoft-bing-apple-google-search-deal-3369622/
     
  12. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    No idea.
    I don't have experience with Privacy Badger.
    But URL tracking is not the same as third party tracking.

    I understood that there is no point in using it alongside uBO.
    See also:
    https://old.reddit.com/r/uBlockOrigin/comments/10t1iks/ublock_origin_and_privacy_badger/
     
    Last edited: Oct 4, 2023
  13. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    985
    Location:
    The Netherlands
    I see no blank spaces here.
    But at the right side there is a empty column, that can be removed with:
    Code:
    www.androidauthority.com##.--___qe
    
    However that doesn't change the page in any way... :confused:
    Screenshot

    Anyway, issues with blank spaces should be reported to the maintainer of the filterlist.
     
    Last edited: Oct 4, 2023
  14. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,244
    Yes.
     
  15. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,244
    Well, every user can decide to not use Dynamic Filtering, of course (although you're missing one of the best features of uBO, IMO). But using Dynamic Filtering without understanding it is a recipe for never-ending problems.
     
  16. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    My daughter would never use UBO's Dynamic Filter.
    I installed uBlock Origin Lite.
    I think it is the most convenient choice for these users.
     
  17. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,244

    I've never met your daughter but I strongly guess that she isn't an advanced user accessing wilderssecurity.com

    That's very questionable. uBO in its default state (with the default filterlists and without Dynamic Filtering) is as convenient as uBOL. Actually, it's even more convenient than uBOL, IMO, as you don't have to decide if a higher filtering mode should be applied to specific sites or in general. A newbie is probably overcharged by such decisions. And at the same time, uBO offers more than uBOL, particularly if it comes to capabilities which can't be ported to MV3.

    So I think there is no reason to prefer uBOL unless you want to categorically stick to a browser which only supports MV3.
     
  18. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    6,294
    dont know. (tbm=isch is google image search)
    the list is used. but it does not remove the "ved" although it should - as far i read. regular google search, not image. while working on my script i can see whats removed or not, and the shortener did nothing.

    another script for direct images, still working.
    https://github.com/chocolateboy/userscripts#google
    ublock filters - ads
    easylist
    adguard social
    no gaps. firefox.
     
  19. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,800
    Location:
    Italy
    My daughter,who is 29 years old,uses the computer 8 hours at work.
    At home, she probably uses it much less than her smartphone.
    She is certainly not interested in the various forums like WSF,because if she has any problem (much less today than in the past) she asks Sampei.
     
  20. Compu KTed

    Compu KTed Registered Member

    Joined:
    Dec 18, 2013
    Posts:
    1,448
    Figured it out. Must of accidently toggled the > (arrow) to hide the lists.
    All filter lists now showing.
     
  21. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,097
    Location:
    the Netherlands
    Ah, okay, great!
    By the way, I edited my earlier reply; where I wrote 'change' had to be 'chance', of course.
     
  22. SouthPark

    SouthPark Registered Member

    Joined:
    Jun 13, 2012
    Posts:
    753
    Location:
    South Park, CO
    I've enjoyed uBO MV3 on MS Edge, with just the optional AdG Overlays and Easy List Cookie Notices filters added, plus the PopUpOff extension which handles most of the other annoyances.

    On Firefox, however, after trying three different cookie filters and various annyoance filters, I still find too many overlays and cookie banners. I've added the recently redesigned and improved PopUpOff to Firefox as well and dropped all cookie filters, keeping only my own small list of generic cookie banners plus the uBO Annoyance Filter. I'm trying to keep uBO from having a ridiculous amount of cosmetic filters (over 70,000 with one cookie list) just to block cookie and newsletter banners from a few dozen websites that I visit. I only have 4 GB shared RAM, lol :argh:
     
  23. Compu KTed

    Compu KTed Registered Member

    Joined:
    Dec 18, 2013
    Posts:
    1,448
    Wonder why LibreWolf browser enables/customizes default lists in uBO specifically the Phishing URL Blocklist?
     
  24. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    295
    Location:
    Netherlands
    LW doesn't use the protection from Google Safe Browsing.
     
  25. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    746
    Location:
    Milan, Italia
    @Compu KTed
    Correct, because devs want users to have at least some very basic protection if they don't use TrafficLight, MB or some other extension.
     
  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.