Node Mutation Hook Library

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

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v2.1.0 16.2.2026
    • Added a function for hooking into removal too
  • v2.0.0 12.2.2026

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

  • v1.0.0 6.2.2026