@adguard/scriptlets
Advanced tools
Changelog
<a name="v1.9.37"></a> [v1.9.37] - 2023-06-06
evaldata-prune
scriptlet #322trusted-replace-node-text
scriptlet #319remove-node-text
scriptlet #318prevent-element-src-loading
scriptlet to
prevent inline onerror
and match link
tag #276set-constant
#316trusted-set-cookie
and trusted-set-cookie-reload
scriptlets to not encode cookie name and value
#311prevent-fetch
: if responseType
is not specified,
original response type is returned instead of default
#297addEventListener
was used before calling send()
method
in m3u-prune
and xml-prune
scriptlets #315updateTargetingFromMap()
method
in googletagservices-gpt
redirect #293$now$
/$currentDate$
value is used
in trusted-set-cookie-reload
scriptlet #291getResponseHeader()
and getAllResponseHeaders()
methods mock
in prevent-xhr
scriptlet #295Changelog
<a name="v1.9.7"></a> [v1.9.7] - 2023-03-14
trusted-click-element
scriptlet to click element
if cookie
/localStorage
item doesn't exist #298trusted-click-element
#284convertScriptletToAdg()
method — now it validates the input rule syntax if it is an ADG ruleMutationObserver.disconnect()
in trusted-click-element
#284Changelog
Changelog
<a name="v1.8.2"></a> [v1.8.2] - 2023-01-19
trusted-set-constant
scriptlet #137inject-css-in-shadow-dom
scriptlet #267throwFunc
and noopCallbackFunc
prop values for set-constant
scriptletrecreateIframeForSlot
method mock
to googletagservices-gpt
redirect #259prevent-setInterval
and prevent-setTimeout
#247getScriptletFunction
calls to throw error on unknown scriptlet namesprevent-xhr
and trusted-replace-xhr-response
closure bug on multiple requests
#261googletagmanager-gtm
in compatibility tableChangelog
<a name="v1.7.20"></a> [v1.7.20] - 2022-12-26
isBlocking()
method for Redirects classfile
field for redirect typeChangelog
<a name="v1.7.19"></a> [v1.7.19] - 2022-12-22
prevent-addEventListener
and log-addEventListener
loosing context
when encountering already bound .addEventListener
google-ima3
conversionChangelog
<a name="v1.7.14"></a> [v1.7.14] - 2022-12-16
set-constant
ADG→UBO conversion
for emptyArr
and emptyObj
Changelog
<a name="v1.7.13"></a> [v1.7.13] - 2022-12-13
isEmptyObject
helper not counting prototype
as an object propertyChangelog
<a name="v1.7.10"></a> [v1.7.10] - 2022-12-07
trusted-set-cookie-reload