uBlockOrigin / uBlock-issues

This is the community-maintained issue tracker for uBlock Origin
https://github.com/gorhill/uBlock
922 stars 77 forks source link

Allow to set dynamic rules to the subdomain or domain in uBO panel #730

Closed Diego-BF closed 4 years ago

Diego-BF commented 4 years ago

Prerequisites

Description

Some sites have multiple subdomains where the same dynamic rules are necessary. But, in these cases, actually the user need to go to "my rules" in settings to set a rule to a domain, or set the same rules each time he visits another subdomain.

I suggest that uBlock Origin allow the user to choose, in the panel, if he wants to set the changes made to the subdomain or domain visited, like uMatrix do.

A specific URL where the issue occurs

Steps to Reproduce

  1. access a subdomain of a site;
  2. set dynamic rules to 1st/3rd party domains/subdomains;
  3. access another subdomain from the first site, where it's necessary to set the same dynamic rules to the same domains/subdomains from step 2.

Expected behavior:

Have a way to the user choose if he wants to set the dynamic rules to the subdomain or the domain visited.

Actual behavior:

The user need to set the same dynamic rules at each subdomain he access, or edit the rules for a subdomain to the domain in the settings tab of uBlock Origin.

Your environment

uBlock-user commented 4 years ago

Already possible through the panel. Just expand the panel by clicking on the +all cell at the top.

gwarser commented 4 years ago

I think OP means something like scope selector in uMatrix - will be duplicate most likely.


? https://github.com/gorhill/uBlock/issues/3297

uBlock-user commented 4 years ago

suggest that uBlock Origin allow the user to choose, in the panel, if he wants to set the changes made to the subdomain or domain visited, like uMatrix do.

There's no mention of scope selector in his suggestion. Also the title is explicitly clear.

gorhill commented 4 years ago

Duplicate of https://github.com/gorhill/uBlock/issues/3297 as @gwarser pointed out.

Remu-rin commented 3 years ago

Can't comment on main repo, so I'm posting it here. Just wanted to switch from uBO+uMatrix to uBO-only, tried relax blocking mode shortcut and it seemed to be even more convenient. But then I realized that both shortcut and manual clicks in dynamic filtering pane create rules for current subdomain and there is no equivalent of uMatrix default scope level setting (e.g. to create rules for chromium.org when I'm on blog.chromium.org page), so I need to edit some rules manually in dashboard. Advanced setting would be great.

baack commented 2 years ago

Duplicate of gorhill/uBlock#3297 as @gwarser pointed out.

I think it's not a duplicate, because it's not about applying rules to the upper domain only.

Look, @gorhill, there are sites that have structure like that:

And these sites change the sub-domain back and forth during browsing. There are a lot of sites that work like that, including online shops and etc.

How the person should use uBlock Origin in advanced whitelist mode on web sites like that?

P.S. In uMatrix this was possible but I don't understand how to use these sites with uBlock Origin the same way, please help.

gorhill commented 2 years ago

How is this not a duplicate? You want to set rules for site.com, and this is what https://github.com/gorhill/uBlock/issues/3297 is about.

baack commented 2 years ago

No, I want to set rules for all *.site.com subdomains, preferably using GUI. If I currently set rules for site.com manually will it apply all these rules to any subdomain, e.g. if I open page on example.site.com, will the rules site.com -> othersite.com applied at all?

baack commented 2 years ago

@gorhill and another question - what to do on sites like that, that use a lot of subdomains? What is the proper workflow with uBlock Origin in advanced whitelist mode? P.S. I really appreciate these addons, thank you!

gorhill commented 2 years ago

will it apply all these rules to any subdomain

Yes, always refer to the documentation in case of doubt:

A rule always automatically propagates to all subdomains of the source hostname

another question

Please use https://www.reddit.com/r/uBlockOrigin/ for support, here is strictly for issue tracking.