您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Googgame chat undel
// ==UserScript== // @name Goodgame chat undel // @namespace goodgame.ru // @include http://goodgame.ru/chat/* // @version 1.1 // @description Googgame chat undel // ==/UserScript== c=window.chat; t=function(){ cc=c.$elem.find('.msg'); for(var i=0;i<cc.length;i++){ s=cc[i].getAttribute('id'); if(s.indexOf('_my')==-1){ cc[i].setAttribute('id',cc[i].getAttribute('id')+'_my'); } } }; c.client.on('message', function(msg){ setTimeout(t,1000); }); c.client.on('remove_message', function(msgId) {msgId = parseInt(msgId); if (msgId > 0) { var $dl = c.$elem.find("#msg-" + msgId+"_my"); if ($dl) { $dl.addClass("delete_mess"); $dl.attr("style","text-decoration:underline;"); } } });