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.105 - 2023-12-25
OmidVerificationVendorobject togoogle-ima3redirect #353ga.q(queued commands) togoogle-analyticsredirect #355
addEventListenerinEventHandleringoogle-ima3redirect, now it binds context to callback #353AdDisplayContainerconstructor ingoogle-ima3redirect, now it adds div element to container #353getInnerErrormethod ingoogle-ima3redirect, now it returnsnull#353
v1.9.101 - 2023-11-30
emptyStrvalue forresponseBodyinprevent-fetchscriptlet #364setPrivacySettings()method togoogletagservices-gptredirect #344- UBO alias
noop.jsonfornoopjsonredirect - library version number to the exports #2237.
prevent-fetchscriptlet, ifresponseTypeis set toopaquethen now responsebodyis set tonull,statusis set to0andstatusTextis set to''#364
v1.9.96 - 2023-11-15
- regular expression support for removing items in
set-local-storage-itemandset-session-storage-itemscriptlets #256 - ability to set proxy trap in
set-constantscriptlet #330
v1.9.91 - 2023-11-13
- new
trusted-prune-inbound-objectscriptlet #372 - new values to
set-cookiescriptlet:on,off,accepted,notaccepted,rejected,allowed,disallow,enable,enabled,disable,disabled#375 - new values to
set-local-storage-itemandset-session-storage-itemscriptlets:on,off#366
- issue with setting proxy trap every time when property is accessed in
set-constantscriptlet #380 - issue with
stackinevaldata-prunescriptlet #378 - issue with setting values to wrong properties in
set-constantscriptlet #373
v1.9.83 - 2023-10-13
- ABP alias for the
logscriptlet
- issue with
trusted-replace-fetch-responsescriptlet in case if data URL was used and properties was set byObject.definePropertyto deceive scriptlet #367 - issue with adding the same header value in
trusted-replace-xhr-responsescriptlet when it is used multiple times for the same request #359 - issue with not pruning in
m3u-prunescriptlet 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-attrset-cookieset-local-storage-itemset-session-storage-item
v1.9.70 - 2023-08-21
- support for
XPathinxml-prunescriptlet #325 - conversion of UBO's $redirect priority to the converter
- issue with
stackinjson-prunescriptlet #348 - issue with
obligatoryPropsinjson-prunescriptlet #345
v1.9.62 - 2023-08-04
prevent-xhrclosure 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-itemandset-session-storage-itemscriptlets #338 - new values to
set-cookieandset-cookie-reloadscriptlets:Accept,Reject,y,n,N,No,allow,deny#336 - ability to use flags in regular expression scriptlet parameters #303
- predefined values of
set-cookieandset-cookie-reloadare now case-insensitive #342
- issue with overwriting
google.imavalue if it was already set #331 - issue with printing unnecessary logs to the console in
log-addEventListenerscriptlet #335 - error throwing in
prevent-fetchandprevent-xhrscriptlets when a request is blocked #334
v1.9.37 - 2023-06-06
- new
evaldata-prunescriptlet #322 - new
trusted-replace-node-textscriptlet #319 - new
remove-node-textscriptlet #318 - ability for
prevent-element-src-loadingscriptlet to prevent inlineonerrorand matchlinktag #276 - new special value modifiers for
set-constant#316
trusted-set-cookieandtrusted-set-cookie-reloadscriptlets to not encode cookie name and value #311- improved
prevent-fetch: ifresponseTypeis not specified, original response type is returned instead ofdefault#297
- issue with pruning when
addEventListenerwas used before callingsend()method inm3u-pruneandxml-prunescriptlets #315 - issue with
updateTargetingFromMap()method ingoogletagservices-gptredirect #293 - website reloading if
$now$/$currentDate$value is used intrusted-set-cookie-reloadscriptlet #291 getResponseHeader()andgetAllResponseHeaders()methods mock inprevent-xhrscriptlet #295
v1.9.7 - 2023-03-14
- ability for
trusted-click-elementscriptlet to click element ifcookie/localStorageitem 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-prunescriptlet #277 trueandfalsevalues forset-attrscriptlet #283- UBO alias
noop.cssfornoopcssredirect
- decreased the minimal value for the
boostparameter to0.001foradjust-setTimeoutandadjust-setInterval#262
prevent-element-src-loadingthrowing error ifthisArgisundefined#270- logging
nullinjson-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-constantscriptlet #137 - new
inject-css-in-shadow-domscriptlet #267 throwFuncandnoopCallbackFuncprop values forset-constantscriptletrecreateIframeForSlotmethod mock togoogletagservices-gptredirect #259
- add decimal delay matching for
prevent-setIntervalandprevent-setTimeout#247 - debug logging to include rule text when available
getScriptletFunctioncalls to throw error on unknown scriptlet names
prevent-xhrandtrusted-replace-xhr-responseclosure bug on multiple requests #261- missing
googletagmanager-gtmin compatibility table
v1.7.20 - 2022-12-26
isBlocking()method for Redirects classfilefield for redirect type
- Redirects types.
v1.7.19 - 2022-12-22
prevent-addEventListenerandlog-addEventListenerloosing context when encountering already bound.addEventListenergoogle-ima3conversion
v1.7.14 - 2022-12-16
set-constantADG→UBO conversion foremptyArrandemptyObj
v1.7.13 - 2022-12-13
isEmptyObjecthelper not countingprototypeas an object property
v1.7.10 - 2022-12-07
- new scriptlet
trusted-set-cookie-reload
set-cookie-reloadinfinite page reloading #265- breakage of
prevent-element-src-loadingdue towindowgetting intoapplywrapper #264 - spread of args bug at
getXhrDatacall fortrusted-replace-xhr-response - request properties array not being served to
getRequestDataandparseMatchPropshelpers
v1.7.3 - 2022-11-21
-
Trusted scriptlets with extended capabilities:
-
Scriptlets:
xml-prune#249