µBlock, a lean and fast blocker

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

  1. Gandalf_The_Grey

    Gandalf_The_Grey Registered Member

    Joined:
    Jan 31, 2012
    Posts:
    897
    Location:
    The Netherlands
    Thanks @Sampei Nihira :thumb:
     
  2. Dragon1952

    Dragon1952 Registered Member

    Joined:
    Sep 16, 2012
    Posts:
    2,309
    Location:
    Hollow Earth - Telos
    I take it that these should be copied to my filters in UBO. Is that correct.
     
  3. Gandalf_The_Grey

    Gandalf_The_Grey Registered Member

    Joined:
    Jan 31, 2012
    Posts:
    897
    Location:
    The Netherlands
    Yes, that's correct.
     
  4. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,228
    Location:
    Italy
  5. paulderdash

    paulderdash Registered Member

    Joined:
    Dec 27, 2013
    Posts:
    4,418
    Location:
    Under a bushel ...
    Added (trial ...). :thumb:

    In earlier post #5315 I see you now have Phishing Domains Blocklist ... may have been already discussed, but your reason for preference over Phishing Army blocklist?
     
  6. gorhill

    gorhill Developer

    Joined:
    Nov 12, 2013
    Posts:
    864
    Location:
    Canada
    Those filters are best written as follow:

    Code:
    ||rest^$all
    ||gq^$all
    ||work^$all
    ...
    
    "||" means "anchor to start of hostname label", and since you want to filter out specific TLDs, then you just need to anchor to the TLD label, no need for wildcard. Anchoring to a wildcard means a URL such as "https:// example.com/path/file.rest" would match "||*.rest^", which I am sure is not the intention here.
     
  7. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,228
    Location:
    Italy
    Thanks Gorhill, it is a great pleasure to learn from the master.:thumb:
    I have already changed the list with the correct syntax you suggested.
    :)

    Code:
    ! The Most Abused Top Level Domains
    ! https://www.spamhaus.org/statistics/tlds/
    ||rest^$all
    ||gq^$all
    ||work^$all
    ||tk^$all
    ||ml^$all
    ||viajes^$all
    ||casa^$all
    ||london^$all
    ||cf^$all
    ||fail^$all
    ||surf^$all
    ||date^$all
    ||cam^$all
    ||exposed^$all
    ||fit^$all
    ||asia^$all
    ||golf^$all
    @ to all

    I deleted the "buzz" domain which today has a score of 1.24, whoever wishes can enter it again.
     
  8. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    2,228
    Location:
    Italy
    Only because the list I chose has fewer rules.
    My pc has little RAM (less than 1GB) and a very old processor.
     
  9. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    41,863
    uBlockO legacy v1.16.4.28 Released (January 25, 2021)
     
  10. JasonUK

    JasonUK Registered Member

    Joined:
    Nov 24, 2017
    Posts:
    94
    Location:
    UK
    Does that advice also work for TLDs like .com.cn? Would the site be blocked if you're using ||cn^$all rather than ||*.cn^$all?
     
  11. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    41,863
    uBlock Origin v1.33.0 Released (January 29, 2021)
    Download - v1.33.0 - Firefox (AMO)
    Download - v1.32.4 - Chrome (Web Store)
    Download - v1.32.4 - Opera (Opera Addons)
    Download - v1.32.4 - Edge (Microsoft Edge Addons)
    Download - v1.15.24 - Edge Legacy (Microsoft Store) (retired addon)
    It will take some time until the new version will be available on AMO, Chrome Web Store, etc.
     
    Last edited: Feb 1, 2021
  12. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,812
    Location:
    The Netherlands
    Guys I have noticed some weird things. Lately I have noticed that in the "right click" context men you will get to see "Block element in frame", is this something new? I think it's unneeded.

    Also, I couldn't figure out how to allow twitter.com on www.ad.com, see link. Normally I would simply allow this script, but this isn't possible anymore.

    And another thing, I got a fake Win Defender ad on some adult site, but it also hid the mouse cursor, so I couldn't control the browser anymore, and eventually Vivaldi even crashed. Isn't uBlock supposed to block this stuff, or is this more of a browser problem?

    https://www.ad.nl/wonen/ikea-overla...service-het-frustreert-en-spijt-ons~ab3f16fa/
     
  13. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,234
    Location:
    Europe
    some adult site :eek:

    which one?

    I can test it on my browser. No im not downloading vivaldi
     
  14. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,812
    Location:
    The Netherlands
    It's one which I have never visited before, you know sometimes you just click on links and you end up somewhere. Legit adult sites don't show these type of ads most of the time. But I was suprised it could take over the browser and even made it crash.
     
  15. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    357
    Location:
    The Netherlands
    If you know the link (browser history?), you could consider reporting it to the devs.
    Malware?
     
    Last edited: Jan 30, 2021
  16. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,234
    Location:
    Europe
    Thats what happens when you use vivaldi :D

    Id be glad to test it out, but something is telling me it wont happen here. Or maybe your machine had 128 mb ram, who knows
     
  17. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    978
    Location:
    UK
    I had to remove easylist privacy which for several years hasnt really broken anything, but a mainstream site got broken by it (Forgot which, but it was important enough for me to go, ok of it goes).
     
  18. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,234
    Location:
    Europe
    Report it to easy list

    Also u can exclude the site or the particular filters that are breaking it, ublock origin has a lot of functionality, u dont have to remove entire filter for one site
     
  19. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    41,863
    uBlock Origin v1.33.2 Released (February 1, 2021)
    Download - v1.33.2 - Firefox (AMO)
    Download - v1.33.2 - Chrome (Web Store)
    Download - v1.32.4 - Opera (Opera Addons)
    Download - v1.33.2 - Edge (Microsoft Edge Addons)
    Download - v1.15.24 - Edge Legacy (Microsoft Store) (retired addon)
    It will take some time until the new version will be available on AMO, Chrome Web Store, etc.
     
    Last edited: Feb 7, 2021
  20. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    14,812
    Location:
    The Netherlands
    I couldn't find it anymore, the problem is that you often get redirected to certain sites. I did notice that you can block quite a few of annoying ads when you block third party frames and inline scripts. BTW, does anyone know how to remove the annoying floating video's on dailymail.co.uk?

    https://www.dailymail.co.uk/tvshowb...ams-115-sandals-socks-outing-Heart-Radio.html

    I don't think it's a problem with Vivaldi, it would have probably happened on all Chromium based browsers, I was really surprised that you can still take over the browser with JavaScript. On the other hand, I wonder what their end game was, because if you make the browser crash you ain't going to make any money as a scammer.
     
  21. Floyd 57

    Floyd 57 Registered Member

    Joined:
    Mar 17, 2017
    Posts:
    1,234
    Location:
    Europe

    Right click, Block element

    upload_2021-2-1_21-27-18.png

    upload_2021-2-1_21-28-42.png

    then again

    ofc this makes the video stuck in "video playing in bottom right corner"
     
  22. Dragon1952

    Dragon1952 Registered Member

    Joined:
    Sep 16, 2012
    Posts:
    2,309
    Location:
    Hollow Earth - Telos
  23. Dragon1952

    Dragon1952 Registered Member

    Joined:
    Sep 16, 2012
    Posts:
    2,309
    Location:
    Hollow Earth - Telos
    I also have 3 filters on UBO to stop things on dailymail along with that chrome extension.
     
  24. chrcol

    chrcol Registered Member

    Joined:
    Apr 19, 2006
    Posts:
    978
    Location:
    UK
    I try to avoid using all separate extensions as most extensions become abandonware when dev gets bored. I think a twitch adblocker was made only 2 or so months ago and already abandonware.

    Which brings t my question, does anyone have ublock rules to stop the current twitch video advertising, its extremely abusive.
     
  25. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    3,288
    you might post your ubo related questions here:
    https://github.com/yuki2718
     
  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.