Hitbox Emotes

The original Hitbox Emotes script with over 13,000 emotes! - Request your custom emotes here!

Stan na 20-08-2014. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name Hitbox Emotes
// @namespace Hitbox Emotes
// @description The original Hitbox Emotes script with over 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.3
// ==/UserScript==

function hitbox_init()
{	
	console.log("Hitbox Emotes: Main script loaded.")

	var MainEmotes = document.createElement('script');
	MainEmotes.type = 'text/javascript';
	MainEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/MainEmotes.js";
	var head = document.getElementsByTagName('head')[0];
	
	var BackupEmotes = document.createElement('script');
	BackupEmotes.type = 'text/javascript';
	BackupEmotes.src = "https://cdn.rawgit.com/GamingTom/11142192/raw/fdd206a1a9e892a0f0c55f1de253981d980fa0e8/MainEmotes.js";
	var head = document.getElementsByTagName('head')[0];	
	
	var CustomEmotes = document.createElement('script');
	CustomEmotes.type = 'text/javascript';
	CustomEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/CustomEmotes.js";
	var head = document.getElementsByTagName('head')[0];	
	
	var style = document.createElement('style');
	style.textContent = ".chatBody .smiley {max-height: 32px !important;width: auto !important;height: auto !important;}";
	var head = document.getElementsByTagName('head')[0];	
	
	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(style);
		console.log("Hitbox Emotes: Custom style loaded")
	}
}


window.onload = hitbox_init;