Serious Discussion uBlock Origin Lite - General Discussions

Eureka!!!! 🧙‍♂️🧙‍♂️(y)

I have implemented the 3p frame block (Enhanced Easy mode) within my 9TLDs (it, com, org, net, info, eu, edu, ms, io) dynamically using uBoL.

With a click of the mouse, I can basically set an exception (no filtering).
So now I use two adblocks simultaneously (ubo/AG + uBoL) that do not perform the usual task and therefore do not overlap each other.

It was impossible to implement dynamic 3p frame blocking with uBo alone; I would have had to use static rules with static exceptions.
Too much work.
Static filtering together with my other dynamic rules works because it takes precedence over dynamic filtering.

Example:

In this Shadowra thread, there is a legitimate 3p frame.
I disabled uboL and it can be viewed:

2.png


Effect of 3p-frames blocking:

1.png

In the images above, I also used uboL in Firefox.
No counter, no automatic update.

Benefits of 3p-frames blocking:

Dynamic filtering: Benefits of blocking 3rd party iframe tags
 
It is interesting to note, as stated here:

uBOL operates entirely declaratively, meaning no permanent process is required for filtering. The browser handles CSS/JS injection for content filtering, ensuring that uBOL does not consume CPU or memory resources while blocking content. The service worker process is only active when interacting with the popup panel or options pages.

GitHub - uBlockOrigin/uBOL-home: uBO Lite home (MV3)

The above only applies to the Basic filter mode.
It is like having only 1 wide-spectrum content blocker extension enabled, so only uBo/AG:

1.png

In the image above, uBoL is active in blocking one frame 3p on the website.

;)(y)
 
I have added a few exceptions.
It is pointless to disable 3p frames blocking on some websites, such as the one in the image, where it is only necessary for Cloudflare's “human verification.”:

1.png

I have also set up as many rules as I have TLDs.
This way, I can modify (in the future) some (or all) TLDs for "Medium Mode" blocking.
I don't know.
My surgery is scheduled for February 4, and I will have one month of recovery time to do all my tests and experiments.:giggle:
 
Code:
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .com
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .org
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .net
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .it
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .ms
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .eu
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .edu
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .info
---
action:
  type: block
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: .io
---
action:
  type: allow
condition:
  domainType: thirdParty
  resourceTypes:
    - sub_frame
  urlFilter: challenges.cloudflare.com
  initiatorDomains:
    - wilderssecurity.com
---

If there are any kamikaze pilots who want to try using the DNR rules in uBoL, here are some rules that I use.
The last rule is an exception for WSF that allows you to pass the CloudFlare test.
Any other exception rules can have the same syntax.

Inserting “script” before/after "sub_frame" transforms that rule into Medium Mode.
It's very simple.;)
 
  • Like
Reactions: Jan Willy
Is there a logger for uBo lite? If there is I can't see it. It seems necessary that the logger be included. How else are we supposed to make exclusionary rules?
 
  • Like
Reactions: Sampei.Nihira
Is there a logger for uBo lite? If there is I can't see it. It seems necessary that the logger be included. How else are we supposed to make exclusionary rules?
The version I used a few days ago did not have one. That is why changed back to AdGuard Mv3 a few days ago.

uBol cosmetic rules picker/creator is very good and when you enable developer mode you can paste old fashioned ABP rules into it custom DNR and they are converted to DNR format for your.
 
The version I used a few days ago did not have one. That is why changed back to AdGuard Mv3 a few days ago.

uBol cosmetic rules picker/creator is very good and when you enable developer mode you can paste old fashioned ABP rules into it custom DNR and they are converted to DNR format for your.

I was hoping that was not the case. I'm in the same boat as you, preferring ADGmv3 for that reason. But it uses an insane amount of resources. 300 meg for basic lists and 500 MB ram is nuts!
 
Wel yes and op. Bot the custom cosmetic rules and custom DNR rules accept copying in old format ABP. The custom cosmetic will filter out the cosmetic rules and the custom DNR will translate (simple) ABP rules into DNR. There is also a maximum.
Too much work.

Still using MV2 uBO in Edge, and I may consider shifting to Brave after Edge stop supporting MV2 anymore, rather than using uBOL.
 
I was hoping that was not the case. I'm in the same boat as you, preferring ADGmv3 for that reason. But it uses an insane amount of resources. 300 meg for basic lists and 500 MB ram is nuts!
Well I have 16GB Ram and on Linux, so memory usage is not an issue for me. In my surfing profile it uses 180K with AdGuard's base. tracking protectiion and url parameter remove filter list (and some 150 user rules). In my work profile it uses 90K with only 100 custom rules.
 
I no longer use “initiatorDomains” too many websites that rely on CloudFlare to verify if you are human.
I now have 14 exception rules.
Some have not yet been verified because they are essential (or are they?) for online payments.

P.S.

Red arrow: dynamic filtering on websites outside TLDs.
You can create a local exception rule with a single mouse click.
Blue arrow: dynamic filtering on websites within TLDs.
In practice, locally on the website, you return to using only the filter lists subscribed to in uBo.
It couldn't be easier...;)

2.png
 
Last edited: