Created
May 22, 2009 00:39
-
-
Save wesmaldonado/115853 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jetpack.tabs.onReady(function onNextPage(doc) { | |
if (!doc.defaultView.frameElement) { | |
doc.addEventListener('DOMNodeInserted',function(e){ | |
jetpack.notifications.show("Inserted node containing:" + jQuery(e.target).text()); | |
}, true); | |
jetpack.notifications.show("Loaded " + doc.location.href); | |
//jetpack.tabs.onReady.unbind(onNextPage); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment