setMutationHandler

MutationObserver wrapper to wait for the specified CSS selector

These are versions of this script where the code was updated. Show all versions.

  • v3.0.2 2017-02-14 fixup
  • v3.0.1 2017-02-13 Invocation form added: a single object parameter that contains all options, selector, target, etc
  • v3.0.0 2017-02-11 Add processExistingAndSetMutationHandler
  • v2.1.1 2017-02-10 Allow omitting baseNode parameter, document is used by default
  • v2.1.0 2017-02-10 Use the fast getElementById when a single #some-id selector is provided
  • v2.0.9 2016-10-10 fix concat in case of 1000+ nodes
  • v2.0.8 2016-08-14
  • v2.0.7 2016-07-22 Correctly process mutations with TEXT and ELEMENT nodes mixed
  • v2.0.6 2016-07-20 speedup
  • v2.0.5 2016-07-11 Postpone to next eventtask processing of large mutation batches > 100 records
  • v2.0.4 2015-10-13 correctly process appended/replaced text nodes of a matching node
  • v2.0.3 2015-10-13 fixup
  • v2.0.2 2015-10-13 fixup
  • v2.0.1 2015-10-13 correctly process different mutation types
  • v2 2015-10-12 Remove 'observer' parameter and pass it implicitly as 'this', pass 'nodes' as Array
  • v1 2015-09-12 return the observer object
  • v1 2015-09-05