8000 GitHub - KyleBoyer/haHAA.js: Fork of Kappa.js that expands to include emotes from BetterTwitchTV
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fork of Kappa.js that expands to include emotes from BetterTwitchTV

License

Notifications You must be signed in to change notification settings

KyleBoyer/haHAA.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haHAA Emote haHAA.js

haHAA.js is a fork of Kappa.js by SimulatedGREG. In addition to the functionality of Kappa.js, haHAA.js also finds and replaces Better Twitch TV emote text with icons.

Usage

Presently the jQuery plugin interface is unchanged.

        <p class="hahaa">haHAA nice meme haHAA</p>
        <script src="hahaa.js"></script>
        <script>
            $(document).ready(function() {
              $('.hahaa').kappa();
            });
        </script>
    </body>
</html>

How it works

haHAA.js uses the BetterTTV emote API to get a current list of supported emotes.

It can also cache data in local storage to avoid making API calls, making the script more responsive. The cache is refreshed every 3 days to see if there new emotes from the API.

About

Fork of Kappa.js that expands to include emotes from BetterTwitchTV

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.4%
  • HTML 4.6%
0