Skip to content

Instantly share code, notes, and snippets.

@manikrathee
Forked from minamarkham/emoji.js
Created October 28, 2015 19:32
Show Gist options
  • Save manikrathee/54b4d589a0a1c183cf93 to your computer and use it in GitHub Desktop.
Save manikrathee/54b4d589a0a1c183cf93 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