Skip to content

Instantly share code, notes, and snippets.

@Sixeight
Created May 16, 2009 16:37
Show Gist options
  • Save Sixeight/112728 to your computer and use it in GitHub Desktop.
Save Sixeight/112728 to your computer and use it in GitHub Desktop.
{
label: 'github',
value: 'copy project title and description from github',
custom: function(){
var title = content.document.getElementById('path').getElementsByTagName('a')[0].innerHTML;
var desc = content.document.getElementById('repository_description').innerHTML;
return title + ": " + desc + ' ' + content.document.location;
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment