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.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/374849-library-onelementready-es6/code/Library%20%7C%20onElementReady%20ES6.js?version=649483

Advertisement
Author
sidneys
Ratings
0 0 0
Version
0.6.0
Created
Updated
License
N/A
Applies to
All sites

Author's Description

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.