Created
July 21, 2020 10:21
-
-
Save milindmore22/d280d94b26b6f714795649ad53c11406 to your computer and use it in GitHub Desktop.
Test On Load Download
This file contains hidden or 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
(function() { | |
window.addEventListener('load', () => { | |
const download_button = document.querySelectorAll( '.download-rt-whitepaper a' ); | |
download_button[0].click(); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment