Prerequisites
I tried to reproduce the issue when...
Description
Essentially, a syntax like ~*.example.org is listed in uBO's resource viewer as being an incorrect syntax, although there are cases where such a syntax would've made sense to support. In particular, if I want to only cover a main domain and not any of its subdomains at all, I presumed example.org,~*.example.org##(...) would work, but at the time of writing it doesn't.
While not all sites out there would benefit from that syntax because they always prefix www. to their regular domain, there are a fair few major sites that don't prefix such. Major examples I know of at the time of writing are imgur.com and wolt.com
Screenshot of the resource viewer:

A specific URL where the issue occurs.
Unfortunately it'd be a bit self-incriminating for me to list an exact URL, but since I've got no other viable choice, testers can add https://raw.githubusercontent.com/DandelionSprout/adfilt/b862f695ce847da6faf1a2f69231b5edca9227e4/a.txt as a custom list, use the "Error: n" counter on top of the resource viewer to scroll down, and ignore virtually everything else about that list.
Steps to Reproduce
- Add
example.org,~*.example.org##.JohnMadden to "My Filters"
- See that "My Filters" mark
~*.example.org in red with the hover note "Invalid filter: Bad domain name"
Expected behavior
That a method would exist to only have a hiding rule apply to a core domain and none of its subdomains. My ideas are either:
example.org,~*.example.org##(...)
|example.org##(...)
Actual behavior
The error situations listed and screenshot above.
uBO version
1.58.1b11
Browser name and version
Chrome 126.0.6478.127 x64
Operating System and version
Windows 11 23H2 x64, with all monthly 23H2 updates installed since
Prerequisites
I tried to reproduce the issue when...
Description
Essentially, a syntax like
~*.example.orgis listed in uBO's resource viewer as being an incorrect syntax, although there are cases where such a syntax would've made sense to support. In particular, if I want to only cover a main domain and not any of its subdomains at all, I presumedexample.org,~*.example.org##(...)would work, but at the time of writing it doesn't.While not all sites out there would benefit from that syntax because they always prefix
www.to their regular domain, there are a fair few major sites that don't prefix such. Major examples I know of at the time of writing areimgur.comandwolt.comScreenshot of the resource viewer:
A specific URL where the issue occurs.
Steps to Reproduce
example.org,~*.example.org##.JohnMaddento "My Filters"~*.example.orgin red with the hover note "Invalid filter: Bad domain name"Expected behavior
That a method would exist to only have a hiding rule apply to a core domain and none of its subdomains. My ideas are either:
example.org,~*.example.org##(...)|example.org##(...)Actual behavior
The error situations listed and screenshot above.
uBO version
1.58.1b11
Browser name and version
Chrome 126.0.6478.127 x64
Operating System and version
Windows 11 23H2 x64, with all monthly 23H2 updates installed since