Animemotes (TEST)

Emoticons for v4c and other synctube rooms by Bronard

目前为 2015-10-04 提交的版本。查看 最新版本

// ==UserScript==
// @name         Animemotes (TEST)
// @namespace    https://greasyfork.org/en/scripts/12849-animemotes
// @version      1.01
// @description  Emoticons for v4c and other synctube rooms by Bronard
// @match        *://instasync.com/r/v4c
// @match        *://instasync.com/r/movie4chan
// @match        *://instasync.com/r/*
// @grant        none
// @copyright    2015
// ==/UserScript==
 
//{ src:"", width:, height:, title:''},
 
var emotes = [
   
    { src:"http://i.imgur.com/mKfn1C2.gif", width:50, height:55, title:'smuganime2'},
    { src:"http://i.imgur.com/GJSTjQj.png", width:65, height:88, title:'smuganime3'},
    { src:"http://i.imgur.com/y2nmraG.png", width:88, height:65, title:'smuganime4'},
    { src:"http://i.imgur.com/B4HymvJ.png", width:90, height:65, title:'sadsquid'},
    { src:"http://i.imgur.com/PNaRz3z.png", width:80, height:66, title:'smugsquid'},
    { src:"http://i.imgur.com/HrBC4jG.gif", width:54, height:53, title:'rikka'},
    { src:"http://i.imgur.com/POu88Pa.png", width:50, height:55, title:'heisabigguyforyou'},
    { src:"http://i.imgur.com/N0r7bdL.png", width:50, height:55, title:'quattro'},
    { src:"http://i.imgur.com/yDrpKH3.png", width:70, height:60, title: 'putin'},
    { src:"http://i.imgur.com/uJrM3u0.png", width:70, height:40, title: 'bigboss'},
    { src:"http://i.imgur.com/vrD45tx.png", width:60, height:60, title: 'yaranaika'},
    { src:"http://i.imgur.com/Imolf.gif", width:50, height:50, title: 'servbot'},
    { src:"http://i.imgur.com/5WGZS.jpg", width:50, height:63, title: 'stepup'},
    { src:"http://i.imgur.com/OOXqit5.png", width:54, height:80, title: 'just'},
    { src:"http://i.imgur.com/7XFNWrl.gif", width:36, height:72, title: 'crono'},
    { src:"http://i.imgur.com/mWAan6J.gif", width:120, height:54, title: 'pew2'},
    { src:"http://i.imgur.com/ZBRuxX6.png", width:53, height:47, title: 'papi'},
    { src:"http://i.imgur.com/WlYMFRt.gif", width:60, height:60, title: 'doit2'},
    { src:"http://i.imgur.com/eIF1R2L.png", width:80, height:60, title: 'doit3'},
    { src:"http://i.imgur.com/pfPLxk6.png", width:70, height:70, title: 'wut2'},
    { src:"http://i.imgur.com/xxO2MrE.png", width:72, height:72, title: 'bikki'},
    { src:"http://i.imgur.com/Q5xWyWh.png", width:61, height:72, title: 'bikki2'},
    { src:"http://i.imgur.com/fQjDEJo.png", width:90, height:40, title: 'garrus'},
    { src:"http://i.imgur.com/GLKVdaG.gif", width:40, height:75, title: 'terry'},
    { src:"http://i.imgur.com/QXzjf7n.gif", width:40, height:40, title: 'kirby2'},
    { src:"http://i.imgur.com/ND4xZaa.gif", width:40, height:40, title: 'kirby3'},
    { src:"http://i.imgur.com/kpYgZz1.gif", width:40, height:40, title: 'kirby4'},
    { src:"http://i.imgur.com/n0fvhXl.gif", width:40, height:40, title: 'kirby5'},
    { src:"http://i.imgur.com/3vBa51P.gif", width:40, height:40, title: 'kirby6'},
    { src:"http://i.imgur.com/TpFDOXv.gif", width:70, height:70, title: 'wario'},
    { src:"http://i.imgur.com/8B0GAY0.gif", width:42, height:57, title: 'chuckle'},
    { src:"http://i.imgur.com/HjgVrfe.png", width:63, height:72, title: 'chris'},
    { src:"http://i.imgur.com/f6OMMal.png", width:62, height:59, title: 'sakimori'},
    { src:"http://i.imgur.com/W7cAfBL.png", width:55, height:56, title: 'rustle'},
    { src:"http://i.imgur.com/27XBJyW.png", width:60, height:64, title: 'trashman'},
    { src:"http://mercilesstruth.com/wp-content/uploads/2015/02/triggered.jpg", width:60, height:73, title: 'triggered'},
    
    
    
    
 
    
  
   
       
   
    
    
   
 
    
   
   
    
    
    
    
    ];
 
function addEmotes(){
    for(var i = 0; i < emotes.length; i += 1){
        var parameter = emotes[i];
        window.$codes[parameter.title] = $('<img>', parameter)[0].outerHTML;
        window.$codes[parameter.name] = $('<img>', parameter)[0].outerHTML;
    }
}
 
 function main(){
    addEmotes();
}
 
if (window.document.readyState === 'complete') {
  main();
} else {
  window.addEventListener('load', main, false);
}