Emojiurlifier Save

Drop in JS to automatically switch between Emoji Domain and "regular" versions of a site, depending on the visitor's browser....

Project README

EmojiURLifier - Progressive Enhancement for Emoji Domains

Automatically switch between Emoji and "Regular" Domains

Example: šŸ˜ŽšŸŒ.ws

... falls back to cooldomain.ws on browsers which don't support Emoji Domains. Or, alternatively, enhances the URL to šŸ˜ŽšŸŒ.ws on browsers which do.

Install

Simple... takes 30 seconds. Just add this to your source code:

<script src="https://iā¤ļø.ws/js/emojiurlifier.js"></script>
<script>
  emojiurlifier('http://yourPunycodedEmojiDomain.ws', 'http://yourRegularDomain.com');
</script>

... or just copy the EmojiURLifier.js source and use it directly on your site or CDN.

Longer Explanation

Medium: Cool Domains for Cool People, Less Cool Domains for Less Cool People: Progressive Enhancement to Emoji Domains

Troubleshooting

  • View the source of šŸ˜ŽšŸŒ.ws as a reference.
  • Both your Emoji Domain and your "regular" domain need to point to the same place.
  • If you've been forwarding your Emoji Domain with a 301 redirect, you might need to restart Chrome

WTF?

A free service from Domain Research Group

Get your own Emoji Domain at: iā¤ļø.ws Emoji Domain Registration

Open Source Agenda is not affiliated with "Emojiurlifier" Project. README Source: jonroig/emojiurlifier
Stars
103
Open Issues
0
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating