1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-06 19:02:30 +01:00
uBlock/assets
Raymond Hill 19cdd50a1c
Add trusted-set-constant scriptlet
Alias: `trusted-set`

Behaves exactly like set-constant, except that any arbitrary JSON-
compatible value can be set.

By default the value is treated as a string, which can be anything.

If the value starts with `{` and ends with `}`, the value will be
JSON-parsed, and the `value` property of the resulting object will
be used.

As with any scriptlet requiring trust, filters using
`trusted-set-constant` can only come from trusted filter lists,
otherwise they are discarded.

Related discussion:
- https://github.com/uBlockOrigin/uAssets/discussions/18185#discussioncomment-5977456
2023-05-23 10:59:27 -04:00
..
resources Add trusted-set-constant scriptlet 2023-05-23 10:59:27 -04:00
assets.dev.json Add easylist-chat to Annoyances/Easylist -- Annoyances section 2023-05-21 21:23:02 -04:00
assets.json Use non-minified lists for stable release of assets.json 2023-05-20 22:01:55 -04:00