JudgeZexion's Custom Emotes

Custom Emotes!!!

Versión del día 17/07/2015. Echa un vistazo a la versión más reciente.

// ==UserScript==
// @name         JudgeZexion's Custom Emotes
// @namespace    Rooms
// @version      1
// @description  Custom Emotes!!!
// @grant        none
// @copyright    2015
// @include     *://*.instasynch.com/*
// @include     *://instasynch.com/*
// @include     *://*.instasync.com/*
// @include     *://instasync.com/*
// ==/UserScript==

//    { src:"", width:, height:, title:''},
//    { src:"", width:, height:, name:''},


var emotes = [
    { src:"https://i.ytimg.com/vi/Z6gG3tKDBlk/maxresdefault.jpg", width:80, height:40, title:'doit'},


];

    function addEmotes(){
    emotes.forEach(function(emote){
    window.$codes[emote.title || emote.name] = $('<img>', emote)[0].outerHTML;
});
}

function main(){
    if(!window.$codes || Object.keys(window.$codes).length === 0){
        setTimeout(main, 75);
    }else{
        addEmotes();    
    }
}
if (window.document.readyState === 'complete') {
    main();
} else {
    window.addEventListener('load', main, false);
}
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元