Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adguard/scriptlets

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adguard/scriptlets - npm Package Versions

1
6

1.9.37

Diff

Changelog

Source

<a name="v1.9.37"></a> [v1.9.37] - 2023-06-06

Added

  • 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 inline onerror and match link tag #276
  • new special value modifiers for set-constant #316

Changed

  • trusted-set-cookie and trusted-set-cookie-reload scriptlets to not encode cookie name and value #311
  • improved prevent-fetch: if responseType is not specified, original response type is returned instead of default #297

Fixed

  • issue with pruning when addEventListener was used before calling send() method in m3u-prune and xml-prune scriptlets #315
  • issue with updateTargetingFromMap() method in googletagservices-gpt redirect #293
  • website reloading if $now$/$currentDate$ value is used in trusted-set-cookie-reload scriptlet #291
  • getResponseHeader() and getAllResponseHeaders() methods mock in prevent-xhr scriptlet #295
maximtop
published 1.9.7 •

Changelog

Source

<a name="v1.9.7"></a> [v1.9.7] - 2023-03-14

Added

  • ability for trusted-click-element scriptlet to click element if cookie/localStorage item doesn't exist #298
  • static delay between multiple clicks in trusted-click-element #284

Changed

  • improved the convertScriptletToAdg() method — now it validates the input rule syntax if it is an ADG rule

Fixed

  • issue with MutationObserver.disconnect() in trusted-click-element #284
maximtop
published 1.9.1 •

Changelog

Source

<a name="v1.9.1"></a> [v1.9.1] - 2023-03-07

Added

  • new m3u-prune scriptlet #277
  • true and false values for set-attr scriptlet #283
  • UBO alias noop.css for noopcss redirect

Changed

  • decreased the minimal value for the boost parameter to 0.001 for adjust-setTimeout and adjust-setInterval #262

Fixed

  • prevent-element-src-loading throwing error if thisArg is undefined #270
  • logging null in json-prune #282
  • xml-prune: no pruning a request if new Request() is used, throwing an error while logging some requests #289
  • improve performance of the isValidScriptletName() method
maximtop
published 1.8.13 •

maximtop
published 1.8.2 •

Changelog

Source

<a name="v1.8.2"></a> [v1.8.2] - 2023-01-19

Added

  • new trusted-set-constant scriptlet #137
  • new inject-css-in-shadow-dom scriptlet #267
  • throwFunc and noopCallbackFunc prop values for set-constant scriptlet
  • recreateIframeForSlot method mock to googletagservices-gpt redirect #259

Changed

  • add decimal delay matching for prevent-setInterval and prevent-setTimeout #247
  • debug logging to include rule text when available
  • getScriptletFunction calls to throw error on unknown scriptlet names

Fixed

  • prevent-xhr and trusted-replace-xhr-response closure bug on multiple requests #261
  • missing googletagmanager-gtm in compatibility table
maximtop
published 1.7.20 •

Changelog

Source

<a name="v1.7.20"></a> [v1.7.20] - 2022-12-26

Added

  • isBlocking() method for Redirects class
  • file field for redirect type

Fixed

  • Redirects types.
maximtop
published 1.7.19 •

Changelog

Source

<a name="v1.7.19"></a> [v1.7.19] - 2022-12-22

Fixed

  • prevent-addEventListener and log-addEventListener loosing context when encountering already bound .addEventListener
  • google-ima3 conversion
maximtop
published 1.7.14 •

Changelog

Source

<a name="v1.7.14"></a> [v1.7.14] - 2022-12-16

Added

maximtop
published 1.7.13 •

Changelog

Source

<a name="v1.7.13"></a> [v1.7.13] - 2022-12-13

Fixed

  • isEmptyObject helper not counting prototype as an object property
maximtop
published 1.7.10 •

Changelog

Source

<a name="v1.7.10"></a> [v1.7.10] - 2022-12-07

Added

  • new scriptlet trusted-set-cookie-reload

Fixed

  • set-cookie-reload infinite page reloading #265
  • breakage of prevent-element-src-loading due to window getting into apply wrapper #264
  • spread of args bug at getXhrData call for trusted-replace-xhr-response
  • request properties array not being served to getRequestData and parseMatchProps helpers
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc