Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clear out modqueue on reddit
var clickFirst = function() {
var $link = $('.pretty-button.positive:not(.pressed):first');
if($link.length > 0) {
console.log("clicking");
$link.click();
} else {
console.log("no more links");
}
};
setInterval(clickFirst, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.