AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
52 stars 12 forks source link

Add support for `$referrerpolicy` rules #191

Closed AdamWr closed 1 year ago

AdamWr commented 1 year ago

Currently, rule like this:

||yallo.tv^$referrerpolicy=origin

is marked as invalid:

Error: "Unknown modifier: referrerpolicy=origin" in the rule: "||yallo.tv^$referrerpolicy=origin"

https://github.com/AdguardTeam/FiltersRegistry/blob/fd7641dd5e363c022652e3e9051c9de2a1d99c9e/filters/filter_2_Base/diff.txt#L55

If I'm not wrong, it's supported already by AdGuard for Windows 7.15