From 005a0fe95d44e6a6b8508f212501293550706e3d Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 24 May 2023 15:56:42 -0400 Subject: [PATCH] Comment --- assets/resources/scriptlets.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index 78c2f319e..0bab4cf0b 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -2323,7 +2323,7 @@ function spoofCSS( /******************************************************************************* * - * sed.js + * replace-node-text.js * * Replace text instance(s) with another text instance inside specific * DOM nodes. By default, the scriplet stops and quits at the interactive @@ -2421,7 +2421,14 @@ function replaceNodeText( }, 'interactive'); } -/******************************************************************************/ +/******************************************************************************* + * + * trusted-set-constant.js + * + * Set specified property to any value. This is essentially the same as + * set-constant.js, but with no restriction as to which values can be used. + * + **/ builtinScriptlets.push({ name: 'trusted-set-constant.js',