1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Scriptlet injection, domain in sample code, remove mention of old script:inject syntax

gwarser 2021-11-08 11:47:12 +01:00
parent ad6f59756a
commit 12257ec69a

@ -768,9 +768,7 @@ Support for chaining procedural operators with native CSS selector syntax (i.e.
### Scriptlet injection
+js(...)
<sub>`script:inject(...)` up to [1.15.12](https://github.com/gorhill/uBlock/commit/ec56165d0d36ab91fba7d5cf44a4552d19fefdd5).</sub>
example.com##+js(...)
This allows the injection of specific javascript code into pages. The `...` part is a token identifying a javascript resource from the [resource library](./Resources-Library). Keep in mind the resource library is completely under control of the uBO project, hence only javascript code vouched by uBO can be inserted into web pages, through the use of a valid resource token.