Skip to content

Instantly share code, notes, and snippets.

### 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:
$(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";
}
});