You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prepare for better compatibility with AdGuard's own `set-constant`
scriptlet.
The 3rd position parameter which dictates how to set the value has
been converted into a vararg paramater, as follow:
..., as, function
..., as, callback
..., as, resolved
..., as, rejected
Similarly, the parameter used to dictate when the scriptlet
should become effective is now to be used as a vararg:
..., runAt, load
Related issue:
uBlockOrigin/uBlock-issues#2783
Ideally, AdGuard would support its `stack` parameter as a
vararg, to be discussed.
Will the set-constant scriptlet support stack parameter? I added ##+js(set, Math.random, 1, as, function) to not use rpnt on https://rsshort.com/qyoHMov but it breaks the Cloudflare captcha.
Prerequisites
I tried to reproduce the issue when...
Description
AG supports this: https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#set-constant
A specific URL where the issue occurs.
NA
Steps to Reproduce
NA
Expected behavior
NA
Actual behavior
NA
uBO version
1.51.0
Browser name and version
Firefox 116.0.3
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: