@adguard/scriptlets
Advanced tools
Changelog
[v2.0.1] - 2024-11-13
trusted-types
policy to trusted-replace-node-text
scriptlet [#457]prevent-canvas
scriptlet [#451]parentSelector
option to search for nodes for remove-node-text
scriptlet [#397]transform
option with base64decode
value for href-sanitizer
scriptlet [#455]removeParam
and removeHash
values in transform
option for href-sanitizer
scriptlet [#460]set-cookie
and set-local-storage-item
scriptlets: forbidden
, forever
[#458]ok
to false
by prevent-fetch
if response type is opaque
[#441]prevent-xhr
— modify response [#415]prevent-xhr
— add missed events [#414]Source
type instead of IConfiguration
3.0.0-alpha.1
.isAdgRedirectRule
, isAdgRedirectCompatibleWithUbo
,
isUboRedirectCompatibleWithAdg
, isAbpRedirectCompatibleWithAdg
, convertUboRedirectToAdg
,
convertAbpRedirectToAdg
, convertRedirectToAdg
, and convertRedirectNameToAdg
functions.Changelog
[v1.12.1] - 2024-09-20
@adguard/agtree
][agtree-npm] library for working with rules, compatibility tables,
validator and converter.trusted-create-element
scriptlet [#450]__Host-
or __Secure-
by
trusted-set-cookie
and trusted-set-cookie-reload
scriptlets [#448]Changelog
[v1.11.27] - 2024-08-29
reload
option for trusted-click-element
scriptlet [#301]abort-on-stack-trace
scriptlet
when inlineScript
or injectedScript
option is used [#439]set-cookie
and set-cookie-reload
scriptlets: checked
, unchecked
[#444]set-local-storage-item
and set-session-storage-item
scriptlets:
allowed
, denied
[#445]noop-vast2.xml
, noop-vast3.xml
, and noop-vast4.xml
for correspondent AdGuard redirectsuniqueId
to scriptlet configuration, allowing scriptlets to be executed only once per contextnoop-vmap1.0.xml
for noopvmap-1.0
redirect is replaced by noop-vmap1.xml
RegExp.$1, …, RegExp.$9
values
in log-on-stack-trace
and abort-on-stack-trace
scriptlets [#384]Changelog
[v1.11.16] - 2024-08-01
trusted-set-session-storage-item
scriptlet [#426]set-cookie
and set-cookie-reload
scriptlets: essential
, nonessential
[#436]$currentISODate$
as a new possible value to set-cookie
, set-cookie-reload
,
set-local-storage-item
and set-session-storage-item
scriptlets [#435]trusted-create-element
scriptlet [#434]trusted-click-element
scriptlet does not click on an element that is already in the DOM [#437]Changelog
[v1.11.6] - 2024-07-08
set-cookie
and set-cookie-reload
scriptlets: hide
, hidden
[#433]set-local-storage-item
and set-session-storage-item
scriptlets:
accept
, accepted
, reject
, rejected
[#429]trusted-replace-node-text
, xml-prune
, m3u-prune
,
trusted-replace-fetch-response
and trusted-replace-xhr-response
scriptlets [#411]Changelog
[v1.11.1] - 2024-06-13
trusted-dispatch-event
scriptlet [#382]trusted-replace-outbound-text
scriptlet [#410]trusted-click-element
scriptlet [#409]trusted-click-element
scriptlet [#423]isRedirectResourceCompatibleWithAdg()
method to check compatibility of redirect resources with AdGuard
without needing the full rule text [#420]ruleText
option in the IConfiguration
set-attr
value cannot be set to minimum 0
and maximum 32767
possible value [#425]Changelog
[v1.10.25] - 2024-03-28
trusted-suppress-native-method
scriptlet [#383]json-prune-fetch-response
scriptlet [#361]json-prune-xhr-response
scriptlet [#360]href-sanitizer
scriptlet [#327]no-protected-audience
scriptlet [#395]prevent-fetch
scriptlet to set cors
as a response type [#394]trusted-click-element
scriptlet to click inside open shadow doms [#323]amazon-apstag
didomi-loader
fingerprintjs2
fingerprintjs3
gemius
google-analytics
google-analytics-ga
google-ima3
googlesyndication-adsbygoogle
googletagservices-gpt
matomo
metrika-yandex-tag
metrika-yandex-watch
naver-wcslog
pardot-1.0
prebid
scorecardresearch-beacon
32767
for set-cookie
and set-cookie-reload
scriptlets [#388]$remove$
scriptlet param [#404]set-constant
scriptlet not setting a constant over falsy values [#403]Changelog
[v1.10.1] - 2024-02-12
call-nothrow
scriptlet #333spoof-css
scriptlet #317trusted-create-element
scriptlet #278trusted-set-attr
scriptlet #281set-attr
to set an attribute value as a copy of another attribute value of the same element.set-cookie-reload
scriptlet #332t
, f
, necessary
, required
for set-cookie
and set-cookie-reload
#379