Hitbox Emotes

The original Hitbox Emotes script with ober 13,000 emotes! - Request your custom emotes and mod badges here!

2014-09-04 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name Hitbox Emotes
// @namespace Hitbox Emotes
// @description The original Hitbox Emotes script with ober 13,000 emotes! - Request your custom emotes and mod badges here!
// @include	*.hitbox.tv/*
// @include	*.vgstreams.com/*
// @include	*.multistream.xuzia.com/*
// @icon http://i.imgur.com/fa1Kkku.png
// @version 1.3.8
// ==/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/Hitbox%20Emotes/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 TwitchGlobal = document.createElement('script');
	TwitchGlobal.type = 'text/javascript';
	TwitchGlobal.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/TwitchGlobal.js";

	var TwitchSub = document.createElement('script');
	TwitchSub.type = 'text/javascript';
	TwitchSub.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/TwitchSub.js";
	
	var BackupEmotes = document.createElement('script');
	BackupEmotes.type = 'text/javascript';
	BackupEmotes.src = "https://cdn.rawgit.com/GamingTom/38c64ca519b686e58284/raw/14b88bf998012a98ae013e74615543b8db9c42cd/EmotesBackup.js";
	
	var CustomEmotes = document.createElement('script');
	CustomEmotes.type = 'text/javascript';
	CustomEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/CustomEmotes.js";
	
	var CustomBadges = document.createElement('script');
	CustomBadges.type = 'text/javascript';
	CustomBadges.src = "https://dl.dropboxusercontent.com/u/23313911/Hitbox%20Emotes/javascript/CustomBadges.js";
    
	var head = document.getElementsByTagName('head')[0];
	if (head) {
		head.appendChild(TwitchGlobal);
		console.log("Hitbox Emotes: Global Twitch emotes loaded from " + TwitchGlobal.src)
		head.appendChild(TwitchSub);
		console.log("Hitbox Emotes: Subscriber Twitch emtoes loaded from " + TwitchSub.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);
	}
}

style_init();
window.onload = javascript_init;