mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Updated Resources Library (markdown)
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
|
Solves: https://github.com/uBlockOrigin/uAssets/discussions/18185#discussioncomment-5977456
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
- `example.com##+js(trusted-set, prop, { value: 100000 })`
|
- `example.com##+js(trusted-set, prop, { "value": 100000 })`
|
||||||
- `example.com##+js(trusted-set, prop, { value: "yes" })`
|
- `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": [ "one", "two", 3 ]})`
|
||||||
- `example.com##+js(trusted-set, prop, { value: { url: "about:blank" }})`
|
- `example.com##+js(trusted-set, prop, { "value": { "url": "about:blank" }})`
|
||||||
|
|
||||||
Also see: [set-constant](#set-constantjs-)
|
Also see: [set-constant](#set-constantjs-)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user