您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Memes
当前为
// ==UserScript== // @name TGSscript // @namespace TGS's room // @version 0.04 // @description Memes // @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:"http://i.imgur.com/2hlSZv7.jpg", width:75, height:85, title:'wowremyourehuge'}, { src:"http://25.media.tumblr.com/tumblr_ljh7li6E8b1qe13iio1_500.gif", width:150, height:150, title:'pentaface'}, ]; 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); }