uBlockOrigin / uBlock-issues

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

Add a scope selector in the extension popup with dynamic filtering #1563

Closed omentic closed 3 years ago

omentic commented 3 years ago

Prerequisites

Description

Currently, when on a URL that has subdomains (as an example, Old Reddit), it is impossible to define Dynamic Filters for that subdomain. This of course can be worked around by manually writing rules, but it would be much appreciated if it could be done in the interface as well.

A specific URL where the issue occurs

https://old.reddit.com

Steps to Reproduce

  1. Enable Advanced Mode for Dynamic Filtering
  2. [Second Step]
  3. [and so on...]

Expected behavior:

Screenshot from 2021-04-23 22-32-52

My suggestion would be for different parts of the URL under the power button to be clickable to change the scope. The scope in question would be bold.

For example, the default scope is old.reddit.com (even though only old.reddit.com is bolded in the above screenshot - I hope that doesn't serve another purpose). To change the scope to all of old.reddit.com, I would click the reddit part of the url. For all .com domains, old.reddit.com would be clickable.

This would act similar to the scope selector in uMatrix.

Actual behavior:

There is no way that I know of to apply Dynamic Filtering to a subdomain from the UI.

Your environment

uBlock-user commented 3 years ago

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

omentic commented 3 years ago

Kind of, that seems more about the default setting rather than implementing an actual scope selector. This issue probably supersedes it.

Out of curiosity, are the open issues on the old uBlock tracker still considered active?

uBlock-user commented 3 years ago

Out of curiosity, are the open issues on the old uBlock tracker still considered active?

Yes.

gorhill commented 3 years ago

Duplicate of https://github.com/uBlockOrigin/uBlock-issues/issues/730, which has been set as duplicate of https://github.com/gorhill/uBlock/issues/3297.

omentic commented 3 years ago

@gorhill Would you mind leaving this issue open instead, since it's on the new tracker and non-contributors can participate?

gorhill commented 3 years ago

People can freely comment here.

ccoager commented 1 year ago

I can't comment on the old ticket tracker so I'll add my feedback here. I think a feature like this would be very desirable to those that use medium/hard mode and have to modify rules often.

A few more ideas to implement in the UI:

Another idea could be to add an advanced setting boolean for source domains to add rules on the root level domain or not. This could also work in conjunction with the default source domain selected for the UI implementation.