Skip to content

Instantly share code, notes, and snippets.

@SoerenHenning
Last active July 4, 2017 11:55
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 SoerenHenning/7c5bebc9d9085a7405f477d3461b5dfd to your computer and use it in GitHub Desktop.
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
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