Skip to content

Instantly share code, notes, and snippets.

@kenorb
Last active January 17, 2020 11:27
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 kenorb/01804bbd2b977d0a2b06f86b094e4d57 to your computer and use it in GitHub Desktop.
Save kenorb/01804bbd2b977d0a2b06f86b094e4d57 to your computer and use it in GitHub Desktop.
How to click on Reddit 'more replies' programatically?
document.getElementsByTagName("head")[0].innerHTML += '<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"><\/script>';
setInterval(function() { $("div[id*='moreComments'] p").click(); }, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment