Skip to content

Instantly share code, notes, and snippets.

@tylermenezes
Last active December 22, 2015 07:48
Show Gist options
  • Select an option

  • Save tylermenezes/6440318 to your computer and use it in GitHub Desktop.

Select an option

Save tylermenezes/6440318 to your computer and use it in GitHub Desktop.
Remove all Del.icio.us links showing up on a page. Linking your Twitter to Delicious automatically bookmarks all Tweets you favorite without warning you. (Or at least it did at the time I linked it.) This is extraordinarily stupid. This script can remove them. Just search for @Yourusername #"from twitter", scroll down to the bottom of the page, …
(function(){
var timeout = 0;
window.confirm = function(){return true;}
$("a[title='Edit this link']").each(function(){
var editBtn = $(this);
setTimeout(function(){editBtn.click();}, timeout);
timeout += 750;
setTimeout(function(){$("a[href='#remove']").click();}, timeout);
timeout += 2000;
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment