Monkey DOM

Useful library for dealing with the DOM.

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/405802-monkey-dom/code/Monkey%20DOM.js?version=821769

Author
rafaelgssa
Ratings
0 0 0
Version
4.1.5
Created
Updated
License
N/A
Applies to
All sites

Useful library for dealing with the DOM.

It simplifies the process of:

  • Waiting for an element that is dynamically added to the DOM
  • Inserting elements with attributes / events and retrieving their references, using an array structure visually similar to JSX
  • Observing a node for mutations
  • Parsing an HTML string into a DOM