mirror of https://github.com/gorhill/uBlock.git
0f330c7359
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/1445 A third (optional) argument has been added to `remove-attr` scriptlet, which can be one or more space-separated tokens dictating the behavior of the scriptlet: `stay`: This tells the scriplet to stay and act on DOM changes, whiĺe the default behavior is to act only once when the document becomes interactive. `complete`: This tells the scriplet to start acting only when the document is complete, i.e. once all secondary resources have been loaded, while the default is to start acting when the document is interactive -- which is earlier than when the document is complete. Example: ...##+js(remove-attr, class, .j-mini-player, stay) |
||
---|---|---|
.. | ||
scriptlets.js |