Skip to content

Instantly share code, notes, and snippets.

@jongio
Created April 2, 2022 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jongio/be9f35001787d47e2a8104a75e8a26a1 to your computer and use it in GitHub Desktop.
Save jongio/be9f35001787d47e2a8104a75e8a26a1 to your computer and use it in GitHub Desktop.
How to delete yelp reviews with JavaScript in Browser Tools
// 1. Go to https://www.yelp.com/user_details_reviews_self
// 2. Open dev tools F12
// 3. Copy and paste this code into Console and hit enter.
// 4. This will delete the first review. You'll need to repeat #3 for every review.
$('.icon--18-trash').each(function(){$( this ).click();setTimeout(function(){$('input[value=reason_other]').click();setTimeout(function(){$('#js-delete-button').click();},500);},500);});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment