Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
8 tasks done
Diego-BF opened this issue Sep 23, 2019 · 10 comments
Closed
8 tasks done

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

Diego-BF opened this issue Sep 23, 2019 · 10 comments
Labels
duplicate This issue or pull request already exists

Comments

@Diego-BF
Copy link

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

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

  • [calendar/maps/mail/*].google.com
  • [www/music].youtube.com
  • [www/clips].twitch.tv
  • [*].slack.com

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 Origin version: 1.22.2
  • Browser Name and version: Firefox 69.0.1
  • Operating System and version: Arch Linux
@Diego-BF Diego-BF changed the title Allow set dynamic rules to domain/subdomain in panel Allow to set dynamic rules to the subdomain or domain in uBO panel Sep 23, 2019
@uBlock-user
Copy link
Contributor

uBlock-user commented Sep 23, 2019

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

@uBlock-user uBlock-user added the invalid not a uBlock issue label Sep 23, 2019
@gwarser
Copy link

gwarser commented Sep 23, 2019

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


? gorhill/uBlock#3297

@uBlock-user
Copy link
Contributor

uBlock-user commented Sep 23, 2019

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 gorhill added duplicate This issue or pull request already exists and removed invalid not a uBlock issue labels Sep 23, 2019
@gorhill
Copy link
Member

gorhill commented Sep 23, 2019

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

@Remu-rin
Copy link

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
Copy link

baack commented Oct 6, 2021

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:

  • hello.site.com
  • basket.site.com
  • aux.site.com
  • countryname.site.com
  • wallet.site.com
    ...
    and so on.

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
Copy link
Member

gorhill commented Oct 6, 2021

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

@baack
Copy link

baack commented Oct 6, 2021

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
Copy link

baack commented Oct 6, 2021

@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
Copy link
Member

gorhill commented Oct 6, 2021

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.

@uBlockOrigin uBlockOrigin locked as resolved and limited conversation to collaborators Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

6 participants