Created
May 19, 2014 19:44
-
-
Save jpadilla/628781036c8a7bcc4c68 to your computer and use it in GitHub Desktop.
Deletes all Delicious links. Copy past in console in your Delicious links page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var counter = 1, runXTimes = 10000; | |
(function(counter, runXTimes) { | |
(function cleanup() { | |
window.confirm = function() { | |
return true; | |
}; | |
$('.link').find('.action-link.delete').click(); | |
$('.item.load-more-link a').click(); | |
if (counter < runXTimes) { | |
counter++; | |
setTimeout(cleanup, 1000); | |
} | |
})(counter, runXTimes); | |
})(counter, runXTimes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment