Skip to content

Instantly share code, notes, and snippets.

@twhite96
Forked from minamarkham/emoji.js
Created September 12, 2017 02:51
Show Gist options
  • Save twhite96/84649e31158c75b4443098baea6d2276 to your computer and use it in GitHub Desktop.
Save twhite96/84649e31158c75b4443098baea6d2276 to your computer and use it in GitHub Desktop.
Add emojis to URL
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