cletusc / Userscript--Twitch-Chat-Emotes

Adds a button to Twitch that allows you to "click-to-insert" an emote.
http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/
MIT License
36 stars 20 forks source link

Revise @includes to eliminate running on pages like API #17

Closed cletusc closed 11 years ago

cletusc commented 11 years ago

Related to the fix introduced in 9e21b9b831ab105664f14f97f9c87baef1b92d80 and #13 the script is running on domains other than Twitch which causes the "not logged in" errors to be thrown. Specifically, http://*.twitch.tv/* also runs on http://api.twitch.tv/* which causes errors to be thrown.

Consider excluding pages which are known to throw errors (and not intended to be run on) like API and even the inbox.