remove requestAnimationFrame-if.js

gwarser 2020-12-11 18:15:05 +01:00
parent 3791fc6cbf
commit be4192fd34

@ -373,31 +373,6 @@ Parameters:
- optional, _CSS selector_, specifies nodes from which classes will be removed
***
### ~raf-if.js~ /
### ~requestAnimationFrame-if.js~ [](https://github.com/gorhill/uBlock/blob/c2f0cae2cca2de785f326ae1c28dc1d61599bd7b/assets/resources/scriptlets.js#L492)
Deprecated by [`no-requestAnimationFrame-if.js`](#no-requestanimationframe-ifjs-)
New in [1.22.0](https://github.com/gorhill/uBlock/commit/6831967f5f9d64412a9c063f3b64104d9dce7b07), `requestAnimationFrame-if.js` alias available in [1.23.0](https://github.com/gorhill/uBlock/commit/35854e4baf8b3b3aeb3f0f63ae9e7d3e46a4ba64)
**Defuses** calls to _`requestAnimationFrame()`_ function when parameter:
- **is not prefixed** with `!` and **does not match** the stringified _callback_ argument to _`requestAnimationFrame()`_; OR
- **is prefixed** with `!` and **matches** the stringified _callback_ argument to _`requestAnimationFrame()`_.
Parameters:
- optional, string/_regular expression_, matching in the stringified _callback_ argument passed to
requestAnimationFrame.
Use with `!` parameter to defuse all calls unconditionally.
When used without parameters, will log calls to _`requestAnimationFrame()`_ to the console.
Examples:
- `bloomberg.com##+js(raf-if, !paywall-inline-tout)`
***
### set.js /