Library | onElementReady ES7

Detect any new DOM Element by its CSS Selector, then trigger a function. Includes Promise- & Callback interface. Based on ES6 MutationObserver. Ships legacy waitForKeyElements interface, too.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/374849/1060689/Library%20%7C%20onElementReady%20ES7.js

Author
sidneys
Version
0.8.1
Created
2018-11-27
Updated
2022-06-14
License
N/A

onElementReady ES7 (Greasemonkey Library)

Detect any new DOM Element by its CSS Selector, then trigger a function.

Includes Promise- & Callback interface. Based on ES6 MutationObserver.

Ships legacy waitForKeyElements interface, too.