您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
New maymays for you to love! Done by Child_of_Feel (MoF) :^)
当前为
- // ==UserScript==
- // @name InstaEmotes
- // @namespace http://use.i.E.your.homepage/
- // @version 8.3.2.1
- // @description New maymays for you to love! Done by Child_of_Feel (MoF) :^)
- // @match http://instasynch.com/*
- // @grant none
- // @copyright 2014
- // ==/UserScript==
- //oldLoadUserlist = window.loadUserlist; (work with this later)
- //{ src:"", width:, height:, title:''},
- var oldOnConnected = window.global.onConnected,
- emotes = [
- { src:"http://i.imgur.com/RpznRYJ.gif", width:40, height:45, title:'yee'},
- { src:"http://i.imgur.com/niahcKl.gif", width:45, height:35, title:'eey'},
- { src:"http://i.imgur.com/NiMJaW6.png", width:40, height:30, title:'kappa'},
- { src:"http://i.imgur.com/yzImse8.png", width:20, height:25, title:'myminisides'},
- { src:"http://i.imgur.com/RoQiAtP.png", width:43, height:52, title:'expanddong'},
- { src:"http://i.imgur.com/8WGVGYh.gif", width:35, height:59, title:'cyrax'},
- { src:"http://i.imgur.com/eYfA30K.png", width:49, height:58, title:'heil'},
- { src:"http://i.imgur.com/dBYGKLE.png", width:57, height:57, title:'checkem'},
- { src:"http://i.imgur.com/7AyGv1a.gif", width:60, height:74, title:'ayylmao'},
- { src:"http://i.imgur.com/fNkI3M5.gif", width:40, height:60, title:'gigalien'},
- { src:"http://i.imgur.com/RgnpAPE.gif", width:45, height:59, title:'ayylien'},
- { src:"http://i.imgur.com/jBji5uc.gif", width:43, height:63, title:'alien2'},
- { src:"http://i.imgur.com/nfDwcil.png", width:40, height:56, title:'gookfood'},
- { src:"http://i.imgur.com/BeaCBjD.png", width:37, height:39, title:'feek'},
- { src:"http://i.imgur.com/BeaCBjD.png", width:37, height:40, title:'feeksbadman'},
- { src:"http://i.imgur.com/cHKfWEJ.gif", width:68, height:51, title:'4u'},
- { src:"http://i.imgur.com/cHKfWEJ.gif", width:68, height:51, title:'bane'},
- { src:"http://i.imgur.com/LNkPkIn.png", width:52, height:52, title:'topkek'},
- { src:"http://i.imgur.com/EWhvuNJ.png", width:57, height:55, title:'whores'},
- { src:"http://i.imgur.com/qzKaSUr.png", width:36, height:37, title:'333'},
- { src:"http://i.imgur.com/HDCgmfx.jpg", width:30, height:50, title:'ragu'},
- { src:"http://i.imgur.com/b3ex5cx.png", width:42, height:49, title:'pull'},
- { src:"http://i.imgur.com/b3ex5cx.png", width:42, height:49, title:'riptheskin'},
- { src:"http://i.imgur.com/YM5gtsJ.png", width:99, height:118, title:'myfuckingsides'},
- { src:"http://i.imgur.com/oDLeCCu.gif", width:65, height:60, title:'iamthesun'},
- { src:"http://i.imgur.com/GI19OKs.png", width:41, height:45, title:'sanic2'},
- { src:"http://i.imgur.com/Wwk7Ce2.jpg", width:41, height:45, title:'haruka'},
- { src:"http://i.imgur.com/wAVQL4D.gif", width:60, height:47, title:'wop'},
- { src:"http://i.imgur.com/kXXQOwq.png", width:40, height:56, title:'modabuse'},
- { src:"http://i.imgur.com/MkYjmDf.gif", width:60, height:25, title:'( ͡° ͜ʖ ͡°)'},
- { src:"http://i.imgur.com/zR8xP2G.png", width:38, height:39, title:'feelsmadman'},
- { src:"http://i.imgur.com/zR8xP2G.png", width:38, height:39, title:'feelsmad'},
- { src:"http://i.imgur.com/tIoQzQX.png", width:34, height:45, title:'yuropoor'}
- ];
- function addEmotes(){
- for(var i = 0; i < emotes.length; i += 1){
- var parameter = emotes[i];
- window.$codes[parameter.title] = $('<img>', parameter)[0].outerHTML;
- }
- }
- //load emotes everytime we connect to a room
- //makes sure emotes work even after going to the frontpage and back
- window.global.onConnected = function () {
- oldOnConnected();
- addEmotes();
- };
- //check if we are already connected and the script just loaded slow
- if(typeof(window.userInfo) !== 'undefined' && window.userInfo !== null){
- addEmotes();
- }