Skip to content

Instantly share code, notes, and snippets.

@kei-s
Created August 29, 2008 11:17
Show Gist options
  • Save kei-s/7956 to your computer and use it in GitHub Desktop.
Save kei-s/7956 to your computer and use it in GitHub Desktop.
ubiquity twitter-timeline
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(){
pblock.innerHTML = window.$("#timeline",data).html();
});
}, "html");
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment