您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Prajemoticon
当前为
// ==UserScript== // @name prajelesemoticons // @namespace http://use.i.E.your.homepage/ // @version 5.0.7 // @description Prajemoticon // @include *://*.instasynch.com/* // @include *://instasynch.com/* // @match *://*.instasynch.com/* // @match *://instasynch.com/* // @include *://*.instasync.com/* // @include *://instasync.com/* // @match *://*.instasync.com/* // @match *://instasync.com/* // @grant none // @copyright 2014 // ==/UserScript== // { src:"", width:, height:, title:''}, // { src:"", width:, height:, name:''}, var oldOnConnected = window.global.onConnected, emotes = [ { src:"http://i.imgur.com/ALa7ORX.png", width:98, height:107, title:'aprob'}, { src:"http://i.imgur.com/243XkTA.gif", width:100, height:89, title:'prajeala'}, ]; 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; } } //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(); }