Check that the replace-argument snippet is working as expected.
Test that a matching substring inside an argument is replaced before the native method runs.
abptestpages.org#$#replace-argument Element.prototype.setAttribute 1 '/.+error-report.+/' ''
Test that a matching argument is replaced while a non-matching argument on the same rule is left untouched (self-gating).
abptestpages.org#$#replace-argument Element.prototype.setAttribute 1 /secret/ CLEAN
Test that whole-value mode injects a real typed boolean, not the string "false".
abptestpages.org#$#replace-argument Element.prototype.toggleAttribute 1 '' false
Test that the replacement only applies when the call stack matches stackNeedle.
abptestpages.org#$#replace-argument Element.prototype.setAttribute 1 /ads/ content allowedCaller