1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00

Updated Resources Library (markdown)

Raymond Hill 2023-06-23 07:58:51 -04:00
parent e85fbb0a49
commit c569933cb6

@ -859,10 +859,10 @@ If the value starts with `{` and ends with `}`, the value will be JSON-parsed, a
Solves: https://github.com/uBlockOrigin/uAssets/discussions/18185#discussioncomment-5977456
Examples:
- `example.com##+js(trusted-set, prop, { value: 100000 })`
- `example.com##+js(trusted-set, prop, { value: "yes" })`
- `example.com##+js(trusted-set, prop, { value: [ "one", "two", 3 ]})`
- `example.com##+js(trusted-set, prop, { value: { url: "about:blank" }})`
- `example.com##+js(trusted-set, prop, { "value": 100000 })`
- `example.com##+js(trusted-set, prop, { "value": "yes" })`
- `example.com##+js(trusted-set, prop, { "value": [ "one", "two", 3 ]})`
- `example.com##+js(trusted-set, prop, { "value": { "url": "about:blank" }})`
Also see: [set-constant](#set-constantjs-)