您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces text you choose with a substitute
// ==UserScript== // @name ReplacementText *OLD* // @namespace skyboy@kongregate // @author skyboy // @version 1.0.0 // @description Replaces text you choose with a substitute // @include http://www.kongregate.com/games/*/* // @homepage // ==/UserScript== if (/^\/?games\/[^\/]+\/[^\/?]+(\?.*)?$/.test(window.location.pathname)) { setTimeout(function() { var r = function(){return eval("("+GM_getValue("skyreplacements", "{ }")+")")}; var stringit = function(a){var i="{ ";for(var d in a){i += '"' + d.replace(/"/g,'\\"') + '":"' + String(a[d]).replace(/"/g,'\\"') + '",'}return i.substring(0, i.length - 1) + " }"}; unsafeWindow.holodeck.addOutgoingMessageFilter(function(m,n){for(var i in r()){m=m.replace(new RegExp(i,"g"),r()[i]);}n(m);}) GM_registerMenuCommand("Add replacement text (ie. faces)", function(){ var k = r(); var i = prompt("What text do you want to replace?"); if (!i) return; var j = prompt("What do you want to replace it with?\n(Empty to delete replacement)", k[i] || i); if (j) k[i] = j; else delete k[i]; GM_setValue("skyreplacements", stringit(k)) }); }, 1250); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址