Greasy Fork

Greasy Fork is available in English.

Hitbox Emotes

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

目前为 2014-08-26 提交的版本,查看 最新版本

// ==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.7
// ==/UserScript==  

function init()
{

	var MainEmotes = document.createElement('script');
	MainEmotes.type = 'text/javascript';
	MainEmotes.src = "https://dl.dropboxusercontent.com/u/23313911/javascript/MainEmotes.js";

    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 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")
        head.appendChild(CustomStyle);
	}
}

window.onload = init;