无剑Mud辅修,由在线版移植而来,順便《略改》
// ==UserScript==
// @name 无剑Mud辅助
// @description 无剑Mud辅修,由在线版移植而来,順便《略改》
// @namespace http://tampermonkey.net/
// @version 2.2.3
// @license MIT
// @author 燕飞、东方鸣、懒人、九
// @match http://121.40.177.24:8001/*
// @match http://110.42.64.223:8021/*
// @match http://121.40.177.24:8041/*
// @match http://121.40.177.24:8061/*
// @match http://110.42.64.223:8081/*
// @match http://121.40.177.24:8101/*
// @match http://121.40.177.24:8102/*
// @match http://swordman-s1.yytou.com/*
// @match http://swordman-inter.yytou.com/*
// @grant unsafeWindow
// @grant GM_info
// @grant GM_setClipboard
// @grant GM_xmlhttpRequest
// @connect greatest.deepsurf.us
// @connect update.greatest.deepsurf.us
// @run-at document-end
// @compatible Chrome >= 80
// @compatible Edge >= 80
// @compatible Firefox PC >= 74
// @compatible Opera >= 67
// @compatible Safari MacOS >= 13.1
// @compatible Firefox Android >= 79
// @compatible Opera Android >= 57
// @compatible Safari iOS >= 13.4
// @compatible WebView Android >= 80
// @require https://update.greatest.deepsurf.us/scripts/445697/1244619/Greasy%20Fork%20API.js
// ==/UserScript==
(function () {
"use strict";
if (location.host == "orchin.cn") {
var params = new URLSearchParams(location.href.split("?")[1]);
var host = params.get("ws_host");
if (!host) return;
params["delete"]("ws_host");
location.replace("http://" + host + "?" + params.toString());
}
GreasyFork.getScriptCode("491806").then(data => {
eval("(function (){" + data + "})()");
});
})();