From 12257ec69aa8227e6c1cbd2fc8901fcca5b11edd Mon Sep 17 00:00:00 2001 From: gwarser Date: Mon, 8 Nov 2021 11:47:12 +0100 Subject: [PATCH] Scriptlet injection, domain in sample code, remove mention of old script:inject syntax --- Static-filter-syntax.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Static-filter-syntax.md b/Static-filter-syntax.md index 086efcc..25c581c 100644 --- a/Static-filter-syntax.md +++ b/Static-filter-syntax.md @@ -768,9 +768,7 @@ Support for chaining procedural operators with native CSS selector syntax (i.e. ### Scriptlet injection - +js(...) - -`script:inject(...)` up to [1.15.12](https://github.com/gorhill/uBlock/commit/ec56165d0d36ab91fba7d5cf44a4552d19fefdd5). + 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.