Greasy Fork is available in English.

setMutationHandler

MutationObserver wrapper to wait for the specified CSS selector

As of 13.10.2015. See ბოლო ვერსია.

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

  • v3.0.2 14.02.2017 fixup
  • v3.0.1 13.02.2017 Invocation form added: a single object parameter that contains all options, selector, target, etc
  • v3.0.0 11.02.2017 Add processExistingAndSetMutationHandler
  • v2.1.1 10.02.2017 Allow omitting baseNode parameter, document is used by default
  • v2.1.0 10.02.2017 Use the fast getElementById when a single #some-id selector is provided
  • v2.0.9 10.10.2016 fix concat in case of 1000+ nodes
  • v2.0.8 14.08.2016
  • v2.0.7 22.07.2016 Correctly process mutations with TEXT and ELEMENT nodes mixed
  • v2.0.6 20.07.2016 speedup
  • v2.0.5 11.07.2016 Postpone to next eventtask processing of large mutation batches > 100 records
  • v2.0.4 13.10.2015 correctly process appended/replaced text nodes of a matching node
  • v2.0.3 13.10.2015 fixup
  • v2.0.2 13.10.2015 fixup
  • v2.0.1 13.10.2015 correctly process different mutation types
  • v2 12.10.2015 Remove 'observer' parameter and pass it implicitly as 'this', pass 'nodes' as Array
  • v1 12.09.2015 return the observer object
  • v1 05.09.2015