uBlockOrigin / uBOL-home

uBO Lite home (MV3)
GNU General Public License v3.0
1.1k stars 44 forks source link

Please add a fourth mode - "No filtering". #150

Closed 999px closed 3 months ago

999px commented 3 months ago

uBlock Origin Lite has only three modes: Basic, Optimal, Full. Please add a fourth mode - "No filtering".

In this mode, uBlock Origin Lite should be active but not perform any filtering, allowing manual activation for specific sites.

For example, I want it to work only on YouTube and a few other sites, and do nothing on others.

garry-ut99 commented 3 months ago

The whole idea of "disable for all websites, and only enable for specific websites" mode, was requested many times in the past, and was always declined:

The answer for "why declined" was provided in the following comments:

Then the same answer was copy&pasted into the Wiki documentation:


Though as seen, there is a workaround available in uBlock Origin, to disable uBO on all websites, and enable only on specific ones, which is a bit cumbersome (most likely on purpose), but works as expected: a special regex, in which you manually put only blocked sites.

There is also a similiar setting, for cosmetic filters: "Disable cosmetic filtering" in settings + and then using Per site switches to enable only on specific websites: https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-cosmetic-filtering.

And also a Dynamic filtering layer: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering

But none of these work in uBlock Lite: no regex support in "No filtering" area + no Per site switches available + no Dynamic filtering.


(To be clear: I only have provided useful informations, I do not take part in the discussion about accepting or rejecting the OP's feature request, because I personally never had a need for such a feature, nor I use uBlock Lite (I use uBlock Origin on a daily basis.).

gorhill commented 3 months ago

You can enable that sort of mode by entering all-urls in the "No filtering" text area. This is as far as I will go to support that special mode, i.e. I won't further modify the user interface to specifically enable no filtering as default mode.

999px commented 3 months ago

garry-ut99 Thank you very much for such a detailed answer!!! To be honest, I’m very upset and surprised at the same time o_O

gorhill uBlock Origin Lite is the perfect ad blocking add-on. It doesn't require additional permissions and that's great!

Please add the ability to set the default “no filtering” mode in the settings

gorhill commented 3 months ago

You can enable that sort of mode by entering all-urls in the "No filtering" text area.

999px commented 3 months ago

gorhill

Oh thank you so much!!! exactly what is needed! I didn’t understand you correctly the first time, I thought I should just write all my sites list there :D

but now I only entered all-urls there and it turned out what I wanted!

Thanks again :)

garry-ut99 commented 3 months ago

Good to know, worth to add, that nowhere was it publicly mentioned / documented before (either on purpose, or overlooked, or lack of time).

gorhill commented 3 months ago

This became possible with this commit. I can't remember what led me to make this change.