-
-
Save twhite96/84649e31158c75b4443098baea6d2276 to your computer and use it in GitHub Desktop.
Add emojis to URL
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
| 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