AdguardTeam / FiltersCompiler

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

Add support for set-local-storage-item scriptlet #125

Closed AdamWr closed 3 years ago

AdamWr commented 3 years ago

At the moment it's marked as an invalid scriptlet - https://github.com/AdguardTeam/FiltersRegistry/blob/master/filters/filter_14_Annoyances/diff.txt

Error: "Invalid scriptlet" in the rule: "livecounts.io#%#//scriptlet('set-local-storage-item', 'CONSENT_AGREED', '1')"
livecounts.io#%#//scriptlet('set-local-storage-item', 'CONSENT_AGREED', '1')
Error: "Invalid scriptlet" in the rule: "diffchecker.com#%#//scriptlet('set-local-storage-item', 'alreadySawHomepageModal', 'true')"
diffchecker.com#%#//scriptlet('set-local-storage-item', 'alreadySawHomepageModal', 'true')
slavaleleka commented 3 years ago

it will be supported after scriptlets release, thanks

scriptlets release is available, I'll check it

slavaleleka commented 3 years ago

done