This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am bajh on github. | |
* I am bajh (https://keybase.io/bajh) on keybase. | |
* I have a public key whose fingerprint is 8F32 9978 54D7 DB8F EC1E 2A6D 5B59 6C6B 629D E623 | |
To claim this, I am signing this object: |
This file contains 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(){ | |
$('#tricky_link').on('click', function(e){ | |
e.preventDefault(); | |
ran_num = Math.floor((Math.random() * 10) + 1); | |
if(ran_num > 5){ | |
window.location.href ="http://google.com"; | |
}else{ | |
window.location.href ="http://amazon.com"; | |
} | |
}); |