Skip to content

Instantly share code, notes, and snippets.

@searls
Created October 30, 2011 14:39
Show Gist options
  • Save searls/1325969 to your computer and use it in GitHub Desktop.
Save searls/1325969 to your computer and use it in GitHub Desktop.
A little bookmarklet to get an array of all of the current hubot scripts
prompt('',JSON.stringify($('.content a').map(function(i,el){
if($(el).text().indexOf(".coffee") !== -1) {
return $(el).text();
}
}).toArray()));
javascript:prompt("",JSON.stringify($(".content a").map(function(b,a){if($(a).text().indexOf(".coffee")!==-1)return $(a).text()}).toArray()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment