uBlock/src/js/resources
Raymond Hill b18daa53aa
Add json-edit suite of scriptlets; extend replace= option
Scriptlets added:
- json-edit
- trusted-json-edit
- json-edit-xhr-response
- trusted-json-edit-xhr-response
- json-edit-fetch-response
- trusted-json-edit-fetch-response
- jsonl-edit-xhr-response
- trusted-jsonl-edit-xhr-response
- jsonl-edit-fetch-response
- trusted-jsonl-edit-fetch-response

These scriptlets are functionally similar to their `json-prune` counterpart,
except that they all use the new uBO-flavored JSONPath syntax, and the
`trusted-` versions allow to modify values instead of just removing them.

The `replace=` filter option has been extended to support applying
uBO-flavored JSONPath syntax to the response body. If the `replace=`
value starts with `json:` or `jsonl:`, the remaining of the value will
be interpreted as a JSONPath directive, which can be used to either
remove or modify property in a JSON document.
2025-03-28 09:51:38 -04:00
..
attribute.js Better integrate latest eslint version 2025-01-10 10:25:15 -05:00
base.js Move assets/resources into src/js/ 2024-11-27 16:47:11 -05:00
cookie.js Add "closed","next", "mandatory", "agree/disagree" values to cookies.js (#3934) 2025-02-19 07:36:02 -05:00
href-sanitizer.js Better integrate latest eslint version 2025-01-10 10:25:15 -05:00
json-edit.js Add json-edit suite of scriptlets; extend replace= option 2025-03-28 09:51:38 -04:00
json-prune.js Use JSONPath-like syntax for new jsonl- scriptlets 2025-03-26 11:47:56 -04:00
localstorage.js Better integrate latest eslint version 2025-01-10 10:25:15 -05:00
noeval.js Improve noeval-if scriptlet 2025-02-19 14:01:27 -05:00
object-prune.js Add jsonl-prune-xhr-response/jsonl-prune-fetch-response scriptlets 2025-03-22 16:01:43 -04:00
parse-replace.js Use JSONPath-like syntax for new jsonl- scriptlets 2025-03-26 11:47:56 -04:00
prevent-innerHTML.js Fix prevent-innerHTML scriptlet 2025-03-24 07:33:21 -04:00
prevent-settimeout.js Improve prevent-set[Timeout|Interval] scriptlets 2025-03-17 08:02:30 -04:00
proxy-apply.js Improve trusted-replace-argument scriptlet 2024-12-06 11:53:42 -05:00
replace-argument.js Better integrate latest eslint version 2025-01-10 10:25:15 -05:00
run-at.js Use Object.hasOwn instead of Object.prototype.hasOwnProperty 2025-03-24 08:15:09 -04:00
safe-self.js Add jsonl-prune-xhr-response/jsonl-prune-fetch-response scriptlets 2025-03-22 16:01:43 -04:00
scriptlets.js Add json-edit suite of scriptlets; extend replace= option 2025-03-28 09:51:38 -04:00
set-constant.js Better integrate latest eslint version 2025-01-10 10:25:15 -05:00
shared.js Use JSONPath-like syntax for new jsonl- scriptlets 2025-03-26 11:47:56 -04:00
spoof-css.js Move assets/resources into src/js/ 2024-11-27 16:47:11 -05:00
stack-trace.js Add jsonl-prune-xhr-response/jsonl-prune-fetch-response scriptlets 2025-03-22 16:01:43 -04:00
utils.js Add jsonl-prune-xhr-response/jsonl-prune-fetch-response scriptlets 2025-03-22 16:01:43 -04:00