Coder Social home page Coder Social logo

atfd / emojiurlifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jonroig/emojiurlifier

0.0 1.0 0.0 8 KB

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

JavaScript 100.00%

emojiurlifier's Introduction

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

emojiurlifier's People

Contributors

jonroig avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.