Closed krystian3w closed 1 year ago
Moved to set-attr
origin issue.
Also funny is correlation:
<link href="foo.css" disabled>
In that method possible disable run css form file at all in Firefox/Chrome by:
foo.bar##+js(set-attr, link, disabled, true)
Also fine is for uBo only:
testcases.agrd.dev,surge.sh##+js(set, emptyStringProp, "''")
testcases.agrd.dev,surge.sh##+js(trusted-set, emptyStringProp, "''")
But who start correct/duplicate in ~96 uBo places after publish new parser as stable.
testcases.agrd.dev
Cool stuff. Do you know if there is a filter list somewhere to test all filters?
Never mind, found this: https://github.com/AdguardTeam/TestCases/blob/master/public/Filters/scriptlet-rules/test-scriptlet-rules.txt
Maybe missed in aliases:
foo#%#//scriptlet("prevent-bab")
Or test are outdated after bab preventing logic was changed to use two different surrogates.
Prerequisites
I tried to reproduce the issue when...
Description
I detected today bug in Dev cycle about support empty "value" (I mean
''
) in scriptlets.example scriptlets groups:
I guess from commit about extend support AG syntax.
By dumb regex:
I found 96+ usefull situations where are needed support to avoid rewrite to other scriptlet or network filtering.
A specific URL where the issue occurs.
https://testcases.agrd.dev/Filters/scriptlet-rules/test-scriptlet-rules.html?testId=07a35257
https://example.com/ https://example.org/
Steps to Reproduce
example.org
)Expected behavior
Pass all AdGuard tests from scriplet part
override cursor at
example.org
Actual behavior
Fail one check in part of test for scriptlets: still allowed in ABP syntax:
cursor is still default at
example.org
Both without new quoting:
uBO version
1.50.1b16
Browser name and version
Chrome 109
Operating System and version
Windows 7 Pro