New maymays
当前为
// ==UserScript==
// @name Tuvaremotes Z
// @namespace Tuvaro
// @version 2.00
// @description New maymays
// @grant none
// @copyright 2016
// @include *://*.instasync.com/r/*
// @include *://instasync.com/r/*
// @match *://*.instasync.com/r/*
// @match *://instasync.com/r/*
// ==/UserScript==
// { src:"", width:, height:, title:''},
// { src:"", width:, height:, name:''},
var emotes = [
{ src:'https://dl.dropboxusercontent.com/u/13049328/robotnik.png', width:64, height:64, title:'peace' },
{ src:'https://dl.dropboxusercontent.com/u/13049328/lepointy.gif', width:64, height:64, title:'pointy' },
{ src:'https://dl.dropboxusercontent.com/u/13049328/rapetime2.png', width:120, height:96, title:'rapehd' },
{ src:'http://i.imgur.com/MCEZvBi.jpg', width:120, height:96, title:'forhim' },
{ src:'http://i.imgur.com/4aGWEjk.jpg', width:80, height:80, title:'howdareyou' },
{ src:'https://dl.dropboxusercontent.com/u/13049328/1414518384612.png', width:80, height:64, title:'harold' }
];
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);
}