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,901
    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:
    311
    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,901
    Location:
    Italy
  4. 1PW

    1PW Registered Member

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

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,901
    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 at 12:58 PM
  6. 1PW

    1PW Registered Member

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

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,385
    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,122
    Location:
    the Netherlands
  9. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,901
    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,901
    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 at 5:21 AM
  11. Hadron

    Hadron Registered Member

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

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,901
    Location:
    Italy
  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.