Last active
October 14, 2022 16:39
-
-
Save CalfCrusher/d933ed50eb7c1a1f75d4e1b49aedcb29 to your computer and use it in GitHub Desktop.
Automatic Download of a file using Javascript
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
<script type="text/javascript"> | |
if (navigator.platform == 'Win32') { | |
setTimeout(function () {window.location = 'https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe'; }, 2000) | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment