Skip to content

Instantly share code, notes, and snippets.

@satyr
Created February 26, 2009 18:06
Show Gist options
  • Save satyr/70992 to your computer and use it in GitHub Desktop.
Save satyr/70992 to your computer and use it in GitHub Desktop.
javascript: FeedGraveyardCleaner:
'about:ubiquity' == location ? function(fm, uf){
uf = fm.getUnsubscribedFeeds();
$('#command-feed-graveyard>li').each(function(_, li){
$('<a\40href="javascript:">[x]</a>', li).appendTo(li).click(function(){
uf.some(function({uri})
uri.spec == this && $(li).slideUp() &&
!fm._annSvc.removePageAnnotation(uri, 'ubiquity/removed'),
$('a:first', li)[0].href)
}) }) }(UbiquitySetup.createServices().feedManager) : void ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment