-
-
Save ggamel/4613a9a7be691ebf5745 to your computer and use it in GitHub Desktop.
Add emojis to URL
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 emoji() { | |
if (navigator.userAgent.indexOf('Mac OS X') != -1) { | |
window.location.hash = "💋"; | |
} | |
}; | |
emoji(); | |
// only works on Macs 😞 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment