All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v1.9.101 - 2023-11-30
emptyStr
value forresponseBody
inprevent-fetch
scriptlet #364setPrivacySettings()
method togoogletagservices-gpt
redirect #344- UBO alias
noop.json
fornoopjson
redirect - library version number to the exports #2237.
prevent-fetch
scriptlet, ifresponseType
is set toopaque
then now responsebody
is set tonull
,status
is set to0
andstatusText
is set to''
#364
v1.9.96 - 2023-11-15
- regular expression support for removing items in
set-local-storage-item
andset-session-storage-item
scriptlets #256 - ability to set proxy trap in
set-constant
scriptlet #330
v1.9.91 - 2023-11-13
- new
trusted-prune-inbound-object
scriptlet #372 - new values to
set-cookie
scriptlet:on
,off
,accepted
,notaccepted
,rejected
,allowed
,disallow
,enable
,enabled
,disable
,disabled
#375 - new values to
set-local-storage-item
andset-session-storage-item
scriptlets:on
,off
#366
- issue with setting proxy trap every time when property is accessed in
set-constant
scriptlet #380 - issue with
stack
inevaldata-prune
scriptlet #378 - issue with setting values to wrong properties in
set-constant
scriptlet #373
v1.9.83 - 2023-10-13
- ABP alias for the
log
scriptlet
- issue with
trusted-replace-fetch-response
scriptlet in case if data URL was used and properties was set byObject.defineProperty
to deceive scriptlet #367 - issue with adding the same header value in
trusted-replace-xhr-response
scriptlet when it is used multiple times for the same request #359 - issue with not pruning in
m3u-prune
scriptlet if file contains carriage return #354 - issue with not overriding value in
set-constant
(only partially, for cases where single scriptlet is used) #330
v1.9.72 - 2023-08-25
- conversion for scriptlets:
set-attr
set-cookie
set-local-storage-item
set-session-storage-item
v1.9.70 - 2023-08-21
- support for
XPath
inxml-prune
scriptlet #325 - conversion of UBO's $redirect priority to the converter
- issue with
stack
injson-prune
scriptlet #348 - issue with
obligatoryProps
injson-prune
scriptlet #345
v1.9.62 - 2023-08-04
prevent-xhr
closure bug on multiple requests #347
v1.9.61 - 2023-08-01
- add
convertRedirectNameToAdg()
method to convert redirect names to ADG #346
v1.9.58 - 2023-07-27
- escape commas in the params during conversion to ubo rules #343
v1.9.57 - 2023-07-21
- ability to remove an item from storage in
set-local-storage-item
andset-session-storage-item
scriptlets #338 - new values to
set-cookie
andset-cookie-reload
scriptlets:Accept
,Reject
,y
,n
,N
,No
,allow
,deny
#336 - ability to use flags in regular expression scriptlet parameters #303
- predefined values of
set-cookie
andset-cookie-reload
are now case-insensitive #342
- issue with overwriting
google.ima
value if it was already set #331 - issue with printing unnecessary logs to the console in
log-addEventListener
scriptlet #335 - error throwing in
prevent-fetch
andprevent-xhr
scriptlets when a request is blocked #334
v1.9.37 - 2023-06-06
- new
evaldata-prune
scriptlet #322 - new
trusted-replace-node-text
scriptlet #319 - new
remove-node-text
scriptlet #318 - ability for
prevent-element-src-loading
scriptlet to prevent inlineonerror
and matchlink
tag #276 - new special value modifiers for
set-constant
#316
trusted-set-cookie
andtrusted-set-cookie-reload
scriptlets to not encode cookie name and value #311- improved
prevent-fetch
: ifresponseType
is not specified, original response type is returned instead ofdefault
#297
- issue with pruning when
addEventListener
was used before callingsend()
method inm3u-prune
andxml-prune
scriptlets #315 - issue with
updateTargetingFromMap()
method ingoogletagservices-gpt
redirect #293 - website reloading if
$now$
/$currentDate$
value is used intrusted-set-cookie-reload
scriptlet #291 getResponseHeader()
andgetAllResponseHeaders()
methods mock inprevent-xhr
scriptlet #295
v1.9.7 - 2023-03-14
- ability for
trusted-click-element
scriptlet to click element ifcookie
/localStorage
item doesn't exist #298 - static delay between multiple clicks in
trusted-click-element
#284
- improved the
convertScriptletToAdg()
method — now it validates the input rule syntax if it is an ADG rule
- issue with
MutationObserver.disconnect()
intrusted-click-element
#284
v1.9.1 - 2023-03-07
- new
m3u-prune
scriptlet #277 true
andfalse
values forset-attr
scriptlet #283- UBO alias
noop.css
fornoopcss
redirect
- decreased the minimal value for the
boost
parameter to0.001
foradjust-setTimeout
andadjust-setInterval
#262
prevent-element-src-loading
throwing error ifthisArg
isundefined
#270- logging
null
injson-prune
#282 xml-prune
: no pruning a request ifnew Request()
is used, throwing an error while logging some requests #289- improve performance of the
isValidScriptletName()
method
v1.8.2 - 2023-01-19
- new
trusted-set-constant
scriptlet #137 - new
inject-css-in-shadow-dom
scriptlet #267 throwFunc
andnoopCallbackFunc
prop values forset-constant
scriptletrecreateIframeForSlot
method mock togoogletagservices-gpt
redirect #259
- add decimal delay matching for
prevent-setInterval
andprevent-setTimeout
#247 - debug logging to include rule text when available
getScriptletFunction
calls to throw error on unknown scriptlet names
prevent-xhr
andtrusted-replace-xhr-response
closure bug on multiple requests #261- missing
googletagmanager-gtm
in compatibility table
v1.7.20 - 2022-12-26
isBlocking()
method for Redirects classfile
field for redirect type
- Redirects types.
v1.7.19 - 2022-12-22
prevent-addEventListener
andlog-addEventListener
loosing context when encountering already bound.addEventListener
google-ima3
conversion
v1.7.14 - 2022-12-16
set-constant
ADG→UBO conversion foremptyArr
andemptyObj
v1.7.13 - 2022-12-13
isEmptyObject
helper not countingprototype
as an object property
v1.7.10 - 2022-12-07
- new scriptlet
trusted-set-cookie-reload
set-cookie-reload
infinite page reloading #265- breakage of
prevent-element-src-loading
due towindow
getting intoapply
wrapper #264 - spread of args bug at
getXhrData
call fortrusted-replace-xhr-response
- request properties array not being served to
getRequestData
andparseMatchProps
helpers
v1.7.3 - 2022-11-21
-
Trusted scriptlets with extended capabilities:
-
Scriptlets:
xml-prune
#249