Node Mutation Hook Library

A small wrapper around MutationObserver to hook into creation of elements (filtered on CSS selector) or removal of nodes.

Ceci est la version du script où le code a été mise à jour. Présenter toutes les versions.

  • v2.1.0 2026-02-16
    • Added a function for hooking into removal too
  • v2.0.0 2026-02-12

    Allow multiple elements with the same selector. Disconnect the observer to stop hooking into new elements created with the selector.

  • v1.0.0 2026-02-06