popcorncolonel / Chrome-Extensions

My Chrome Extensions
http://ebcmsoftware.com
13 stars 10 forks source link

Better TTV Emotes? (GabeN) #2

Closed Lordmau5 closed 9 years ago

Lordmau5 commented 9 years ago

So I was thinking if it'd be possible to add some of the BTTV emotes to the emote list? For example GabeN, because #PCMasterRace Kappa

http://nightdev.com/betterttv/faces.php

~ Greets.

popcorncolonel commented 9 years ago

Is there an API for it? Like JSON that I can query?

Lordmau5 commented 9 years ago

Check the page-source. You should be able to do a bit of "substring-magic" and use the var betterttvEmotes = [ one :P

popcorncolonel commented 9 years ago

Ah alright. I'll get around to it and add it as an option. Probably around next week. In the middle of final exams right now.

Lordmau5 commented 9 years ago

Oh looky looky! This is what I found over on the "Better Twitch TV" Github :) https://cdn.betterttv.net/emotes/emotes.json Should be up2date all the time :P

I could prepare code for it and send you a PR over, if you'd like.

//EDIT: http://puu.sh/dqHWb/8970ba33e2.png :P Will make a PR with modified source tomorrow.

//EDIT2: #3 :)