Last Updated: February 25, 2016
·
380
· ryanjm

Clean up old images in Campfire

If you have a free account with Campfire you'll sometimes hit the file upload limit. Use this code in a bookmark to click all the delete icons in the transcripts for you. You still have to go through the pages, but this sure saves time.

javascript:(function(){var images = document.querySelectorAll("img[alt='delete']");for(i=0; i < images.length; i++){images[i].click();}}())

(Not sure how to make this a bookmarklet in coderwall)