Pointless to change the timer to zero. Need it to click Download Now automatically but doesn't even do that. I couldn't get a working script... the following would work if the link wasn't generated by javascript: setInterval(() => { const downloadBtn = document.querySelector('a'); if (downloadBtn && downloadBtn.innerText.includes('Download now')) { downloadBtn.click(); } }, 10000);
Pointless to change the timer to zero. Need it to click Download Now automatically but doesn't even do that. I couldn't get a working script... the following would work if the link wasn't generated by javascript:
setInterval(() => {
const downloadBtn = document.querySelector('a');
if (downloadBtn && downloadBtn.innerText.includes('Download now')) {
downloadBtn.click();
}
}, 10000);