Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to linger for remove-attr scriplet
Related issue: - uBlockOrigin/uBlock-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) Related commits: - gorhill/uBlock@0f330c7 - gorhill/uBlock@5fa8739 Co-authored-by: Raymond Hill <rhill@raymondhill.net>
- Loading branch information