SIGN IN SIGN UP
gorhill / uBlock UNCLAIMED

uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.

0 0 67 JavaScript

Improve `generateContentFn` helper scriptlet

New directive: `join:[separator][sub-directives]`

[separator] is an author-defined two-character string to be used to split
the following sub-directives string. The sub-directives are fed back into
the helper scriptlet to generate sub-content, which will be joined into
a single string. Example:

...##+js(trusted-prevent-fetch, propstomatch, join:--length:10-20--[some literal content]--length:80-100-- push['ads'])
R
Raymond Hill committed
7d95c58408e7b271dd28d1e839f8746e72cdfb7a
Parent: 359cb07