Last active
October 8, 2017 04:58
-
-
Save jajoosam/b66ea7ec513d08ea5b1e1a75a1e77f39 to your computer and use it in GitHub Desktop.
chhota.js
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
console.log("hi"); | |
if(location.hash.slice(1).substr(0,1) == "$"){ | |
link = location.hash.slice(1).substr(1); | |
window.location = "https://goo.gl/" + link; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment