Skip to content

Instantly share code, notes, and snippets.

@mcfearsome
Forked from kei-s/twitter-timeline-ubiquity
Created September 6, 2008 18:58
Show Gist options
  • Save mcfearsome/9182 to your computer and use it in GitHub Desktop.
Save mcfearsome/9182 to your computer and use it in GitHub Desktop.
CmdUtils.CreateCommand({
name: "twitter-timeline",
description: "Browse Twitter Timeline",
preview: function(pblock, directObject) {
var twitterHome = "http://twitter.com/home";
jQuery.get( twitterHome, {}, function(data) {
CmdUtils.loadJQuery(function(jQuery){
pblock.innerHTML = jQuery("#timeline",data).html();
});
}, "html");
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment