FiltersCompiler icon indicating copy to clipboard operation
FiltersCompiler copied to clipboard

Allow using `$permissions` rules without URL part

Open Alex-302 opened this issue 1 year ago • 3 comments

$permissions=join-ad-interest-group=() can work without URL, and /*/ is redundant (like $removeparam=s_cid).

Related to https://github.com/AdguardTeam/FiltersRegistry/blob/e529458be21800609358ce99ff1bcc8bb5b02305/filters/filter_3_Spyware/diff.txt:

! Error: "The rule is too wide, add domain restriction or make the pattern more specific" in the rule: "*.*$permissions=join-ad-interest-group=()\, run-ad-auction=()\, browsing-topics=()"
*.*$permissions=join-ad-interest-group=()\, run-ad-auction=()\, browsing-topics=()

TODO: remove /*/ in https://github.com/AdguardTeam/AdguardFilters/pull/188049/files after update.

Alex-302 avatar Sep 06 '24 09:09 Alex-302

@slavaleleka Any news?

Alex-302 avatar Dec 25 '24 16:12 Alex-302

no, not even planned to be done in the near future yet

slavaleleka avatar Dec 26 '24 09:12 slavaleleka

why?

Alex-302 avatar Jan 02 '25 13:01 Alex-302