Skip to content

Instantly share code, notes, and snippets.

@rileyjshaw
Created June 13, 2017 17:12
Show Gist options
  • Save rileyjshaw/7bdb4c250efaa50eb4f951fb0a6c3198 to your computer and use it in GitHub Desktop.
Save rileyjshaw/7bdb4c250efaa50eb4f951fb0a6c3198 to your computer and use it in GitHub Desktop.
Lets you delete every post from your tumblr pretty quickly, unless you have a *lot* of them
/**
* STEP 1: Go to https://www.tumblr.com/mega-editor/<your-blog-name>
* STEP 2: Open your developer console
* STEP 3: Paste this snippet in
* STEP 4: Hit enter twice
* STEP 5: Repeat from STEP 2 until everything is deleted
*
* Deletes 100 at a time due to tumblr restrictions.
*/
Array.from(document.querySelectorAll('.overlay')).slice(-100).forEach(el => el.click());
document.getElementById('delete_posts').click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment