Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.