Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Twitter timeline update
var target_tweet = document.getElementsByClassName("stream-container")[0];
var observer = new MutationObserver(function(mutations) {
for (var i = 0; mutations[i]; i++)
var config = { attributes: true, childList: true, characterData: true }
observer.observe(target_tweet, config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment