Skip to content

Commit

Permalink
Fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Nov 9, 2023
1 parent d7084d8 commit 9f5e76e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/scriptlets/trusted-prune-inbound-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import {
* @trustedScriptlet trusted-prune-inbound-object
*
* @description
* Removes listed properties from the result of calling specific function (if payload contains `Object`) and returns to the caller.
* Removes listed properties from the result of calling specific function(if payload contains `Object`)
* and returns to the caller.
*
* Related UBO scriptlet:
* https://github.com/gorhill/uBlock/commit/1c9da227d7
Expand Down Expand Up @@ -79,9 +80,9 @@ import {
*
* 4. Removes property `foo.bar` from the payload of the JSON.stringify call if its error stack trace contains `test.js`
*
* ```adblock
* example.org#%#//scriptlet('trusted-prune-inbound-object', 'JSON.stringify', 'foo.bar', '', 'test.js')
* ```
* ```adblock
* example.org#%#//scriptlet('trusted-prune-inbound-object', 'JSON.stringify', 'foo.bar', '', 'test.js')
* ```
*
* 5. Call with only first and third argument will log the current hostname and matched payload at the console
*
Expand Down

0 comments on commit 9f5e76e

Please sign in to comment.