Last active
July 4, 2017 11:55
-
-
Save SoerenHenning/7c5bebc9d9085a7405f477d3461b5dfd to your computer and use it in GitHub Desktop.
Get rid of clicking "Load more results for export" on the Escapenet's result page. Just copy the following code snippet to your browser's JavaScript console. Credits to @EyMaddis
This file contains 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
var searchInterval; | |
var clickForMe = () => { | |
button = $('#loadNext') | |
if (button.length) { | |
button.click() | |
} else { | |
console.log('everything loaded') | |
clearInterval(searchInterval) | |
exportTo('/exportExcelResultsList?locale=en_EP') | |
} | |
} | |
searchInterval = setInterval(clickForMe, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment