// ==UserScript== // @name Hitbox Emotes // @namespace Hitbox Emotes // @description The original Hitbox Emotes script with ober 13,000 emotes! - Request your custom emotes here! // @include *.hitbox.tv/* // @include *.vgstreams.com/* // @include *.multistream.xuzia.com/* // @icon http://i.imgur.com/fa1Kkku.png // @version 1.3.4 // @downloadURL none // ==/UserScript== function style_init() { var CustomStyle = document.createElement('link'); CustomStyle.setAttribute('rel', 'stylesheet'); CustomStyle.setAttribute('type', 'text/css'); CustomStyle.setAttribute('href', 'https://dl.dropboxusercontent.com/u/23313911/css/CustomStyle.css') var head = document.getElementsByTagName('head')[0]; if (head) { head.appendChild(CustomStyle); console.log("Hitbox Emotes: Custom style loaded") } } function javascript_init() { var MainEmotes = document.createElement('script'); MainEmotes.type = 'text/javascript'; MainEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/javascript/MainEmotes.js"; var BackupEmotes = document.createElement('script'); BackupEmotes.type = 'text/javascript'; BackupEmotes.src = "https://cdn.rawgit.com/GamingTom/11142192/raw/fdd206a1a9e892a0f0c55f1de253981d980fa0e8/MainEmotes.js"; var CustomEmotes = document.createElement('script'); CustomEmotes.type = 'text/javascript'; CustomEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/javascript/CustomEmotes.js"; var CustomBadges = document.createElement('script'); CustomBadges.type = 'text/javascript'; CustomBadges.src = "https://dl.dropboxusercontent.com/u/23313911/javascript/CustomBadges.js"; var head = document.getElementsByTagName('head')[0]; if (head) { head.appendChild(MainEmotes); console.log("Hitbox Emotes: Main emotes loaded from " + MainEmotes.src) head.appendChild(BackupEmotes); console.log("Hitbox Emotes: Backup emotes loaded from " + BackupEmotes.src) head.appendChild(CustomEmotes); console.log("Hitbox Emotes: Custom emotes loaded from " + CustomEmotes.src) head.appendChild(CustomBadges); console.log("Hitbox Emotes: Custom badges loaded") } } style_init(); window.onload = javascript_init;