Library | onElementReady ES6

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.

As of 2018-11-27. See the latest version.

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/648564/Library%20%7C%20onElementReady%20ES6.js

Author
sidneys
Version
0.5.0
Created
2018-11-27
Updated
2018-11-27
Size
2.95 KB
License
N/A

onElementReady ES6 (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.