// Get all download links
var fileArray = document.getElementsByClassName('file_left_part')
// Loop through all the file links and append a new link to the DOM
// with a download attribute
for (var i = 0; i < fileArray.length; i++) {
var dlLink = document.createElement('a')
dlLink.download = ''
dlLink.href = fileArray[i].href
dlLink.className = 'filetype_download'
document.body.appendChild(dlLink)
}
// Select all the download links we just created
var dlLinkArray = document.getElementsByClassName('filetype_download')
// Create a function to click on each link in series with a delay
// of 2.5 seconds (volafile will rate limit you otherwise)
function clickIt(i) {
setTimeout(function() { dlLinkArray[i].click() }, i * 2500)
}
// Run our click function on every download link
for (var i = 0; i < dlLinkArray.length; i++) {
clickIt(i)
}
If you want to contact us, you can use our contact form.