Skip to content

Instantly share code, notes, and snippets.

@OliverRC
Created October 19, 2022 19:33
Show Gist options
  • Save OliverRC/224a8f854e0b0990d3c16e41319fa82b to your computer and use it in GitHub Desktop.
Save OliverRC/224a8f854e0b0990d3c16e41319fa82b to your computer and use it in GitHub Desktop.
Quick script to use on old.reddit.com to delete comments and posts.
var $domNodeToIterateOver = $('.del-button .option .yes'), currentTime = 0, timeInterval = 1500; $domNodeToIterateOver.each(function() { var _this = $(this); currentTime = currentTime + timeInterval; setTimeout(function() { _this.click(); }, currentTime);});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment