UBlock Origin Lite - Nice adblocker for modern challenges

Discussion in 'privacy general' started by Mrkvonic, Jun 7, 2024.

  1. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    EUREKA !!!
    Said the great Archimedes out loud.

    Guys I got it.
    Unfortunately, it is necessary to distinguish each and every TLD rule + exceptions.
    Other important point the priority,you need to give the same priority to all the rules.

    Code:
    priority: 4
    action:
      type: block
    condition:
      urlFilter: *
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.eu/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.info/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.io/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.ms/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.net/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.it/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.org/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.edu/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.com/*
      domainType: thirdParty
    ---
    priority: 4
    action:
      type: allow
    condition:
      urlFilter: *://*.co/*
      domainType: thirdParty
    ---
    
    The 'last rule is the exception for the image in MSFN.
    Although it is not very easy to insert exceptions,because often the specific url seems not to work.

    If you want to do another test you can momentarily change the rule com in som.
    And then go to ChatGPT -test.
    In the absence of third party the website has a broken layout.

    However, it is quite a feat to be able to use uBlock origin Lite in Hard Mode + TLD.:thumb:;):)

    P.S.

    Now for those using uBlock Origin Lite will need to check if there are any other exceptions to add to any broken websites.

    How do you go about identifying what is not working?

    It will be necessary to use another extension that has Log.
    Or more simply disable filtering in some websites that are not working.;):thumb:

    P.S.1

    I have included the necessary exceptions (7),the same ones used in AG.
     
    Last edited: Jun 10, 2025
  2. Jan Willy

    Jan Willy Registered Member

    Joined:
    Jan 29, 2021
    Posts:
    312
    Location:
    Netherlands
    Thanks, I will end the short period I experimented with it. So goodbye uBO Lite.
     
  3. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
  4. 1PW

    1PW Registered Member

    Joined:
    Apr 2, 2010
    Posts:
    2,403
    Location:
    .
    Last edited: Jun 11, 2025
  5. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    I wrote 3 DNR rules to block malicious files from Github.com ( only exe,7z,zip):

    Code:
    action:
      type: block
    condition:
      urlFilter: github.com/*/*.exe
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    action:
      type: block
    condition:
      urlFilter: github.com/*/*.zip
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    action:
      type: block
    condition:
      urlFilter: github.com/*/*.7z
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    10.png

    11.png

    For any tests (be careful to choose exe,7z,zip links):

    https://urlhaus.abuse.ch/browse.php?search=github

    P.S.

    Obviously the rules also block legitimate Github exe,7z,zip downloads,to avoid this inconvenience you need to set the extension slider to no filtering.
     
    Last edited: Jun 22, 2025
  6. 1PW

    1PW Registered Member

    Joined:
    Apr 2, 2010
    Posts:
    2,403
    Location:
    .
  7. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,402
    I was sceptical when I first switched Chrome and Edge from uBlock Origin to uBlock Origin Lite. But it works very well. It works much better than I expected.

    By the way. It appears that uBlock Origin Lite is no longer available for Firefox.
     
  8. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    3,133
    Location:
    the Netherlands
  9. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    "Malicious URL Blocklist" has 3391 network rules.
    Few rules to be efficient.
    So it is not only a problem of late update of filter list.
    Better search for anti-malwares protection elsewhere.
     
  10. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    Unfortunately, the new rules must be entered later separately:


    Code:
    action:
      type: block
    condition:
      urlFilter: raw.githubusercontent.com/*/*.zip
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    action:
      type: block
    condition:
      urlFilter: raw.githubusercontent.com/*/*.exe
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    action:
      type: block
    condition:
      urlFilter: raw.githubusercontent.com/*/*.7z
      resourceTypes:
        - main_frame
        - sub_frame
        - script
        - image
        - object
        - xmlhttprequest
    ---
    With the current sampes, the blocking performance is 100%.
     
    Last edited: Jun 24, 2025
  11. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,402
  12. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
  13. 1PW

    1PW Registered Member

    Joined:
    Apr 2, 2010
    Posts:
    2,403
    Location:
    .
  14. 1PW

    1PW Registered Member

    Joined:
    Apr 2, 2010
    Posts:
    2,403
    Location:
    .
  15. Dragon1952

    Dragon1952 Registered Member

    Joined:
    Sep 16, 2012
    Posts:
    2,514
    Location:
    Hollow Earth - Telos
    I have 2025.709.1622 in Chrome.
     
  16. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    In uBlock Origin Lite it is now possible to create a custom filter that is specific to each web page.
    That custom filter can then be removed from the same web page where it was created.

    :thumb:;):)
     
  17. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
  18. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,106
    Location:
    Canada
    @Sampei Nihira

    quoting from the link you provided above:

    Do you actually find this to be the case?
     
  19. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy

    Not really,my implementation of Hard Mode + TLD via DNR rules proves it.
    Certainly uBlock Origin still has some advantages over uBlock Origin Lite for example the Log,which can be remedied via browser development tools.

    Or this:

    https://github.com/uBlockOrigin/uBOL-home/discussions/385

    I hope Gorhill can implement this feature I requested,and uBlock Origin Lite could become in daily use friendlier than what is perceived currently.;):)
     
  20. wat0114

    wat0114 Registered Member

    Joined:
    Aug 5, 2012
    Posts:
    4,106
    Location:
    Canada
    Thank you :) I'm still using Floorp browser with uBlock Origin, so no concerns yet about using a Chrome-based browser with uBO lite.
     
  21. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    762
    Location:
    Milan, Italia
    But this is beside the point of @wat0114's quote, which refers to very average µBO users, who "as a rule of thumb" use no special configuration except default.
     
  22. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,920
    Location:
    Italy
    Very average users will not (even now) use uBlock Origin Lite without noticing any difference with uBlock Origin.
    So I equally disagree with the quote from the article.
    The 'very average user even currently is not able to properly make a temporary exception in the block page of uBlock Origin Lite,which is super simple in uBlock Origin.
    I would bet that such very average users will instead make a permanent exception and not be able to change this unintended permanent choice of theirs.
    This is one of the reasons why I requested the feature change.
     
  23. Bertazzoni

    Bertazzoni Registered Member

    Joined:
    Apr 13, 2018
    Posts:
    762
    Location:
    Milan, Italia
    Average users will hardly notice this because not many of them will encounter blocks, especially large numbers of blocks. And this is not one of the main features in any case.
     
  24. Buddel

    Buddel Registered Member

    Joined:
    Apr 28, 2015
    Posts:
    2,067
    Average users couldn't care less; they just use uBO's default settings.
     
  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.