Node Mutation Hook Library

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

Estas são as versões deste script em que o código foi atualizado. Mostrar todas as versões.

  • v. 3.0.1 17/06/2026
    • Add proper copyright notice
  • v. 3.0.0 19/02/2026
    • Add ability to have the creation callback be called on existing elements, for convienence
  • v. 2.1.0 16/02/2026
    • Added a function for hooking into removal too
  • v. 2.0.0 12/02/2026

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

  • v. 1.0.0 06/02/2026