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://update.greasyfork.org/scripts/405802/823982/Monkey%20DOM.js

نووسەر
rafaelgomesxyz
وەشان
4.1.6
Created
2020-06-21
Updated
2020-07-06
مۆڵەت
نییە

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