Last active
August 13, 2020 16:15
-
-
Save fjahr/bfaf119dddae37c490a4949e956b3b7a to your computer and use it in GitHub Desktop.
Load all the GH comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function f() { | |
setTimeout( () => { | |
if(document.getElementsByClassName("ajax-pagination-btn").length){ | |
Array.from(document.getElementsByClassName("ajax-pagination-btn")).forEach(l => l.click()); | |
f(); | |
} else { | |
console.log("Done"); | |
} | |
}, 1000); // May need to adjust this depending on your internet connection and machine performance | |
} | |
f(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment