mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 19:02:30 +01:00
6831967f5f
Scriptlet name: `raf-if.js` Usage: `example.com##+js(raf-if, !/(\d+){4}/)` Argument: one single argument, which is the "needle" to find in the stringified argument passed to requestAnimationFrame. requestAnimationFrame will be defused when: - The needle is not prefixed with `!` and the needle does not match the stringified argument; OR - The needle is prefixed with `!` and the needle matches the stringified argument. The `raf-if.js` scriptlet will log calls to requestAnimationFrame to the console when no parameter is provided, i.e.: example.com##+js(raf-if) Otherwise no logging occurs. |
||
---|---|---|
.. | ||
resources | ||
assets.json |