Skip to content

Instantly share code, notes, and snippets.

@NHinternesch
NHinternesch / TrackingHoney.js
Last active October 10, 2019 16:28
Tracking Honey
var honeyObserver;
var callback = function(mutations){
// look through all mutations that have just occurred
for (var i = 0; i < mutations.length; i++){
// look through all added nodes of this mutation
for (var j = 0; j < mutations[i].addedNodes.length; j++){
var node = mutations[i].addedNodes[j];