您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
将过时的登录(不可用)画面与服务器网址重导向为新的页面
// ==UserScript== // @name 純美蘋果園舊頁面重新導向 // @name:zh-CN 纯美苹果园旧页面重定向 // @namespace http://tampermonkey.net/ // @description 將過時的登入畫面與伺服器網址重導向為新的頁面 // @description:zh-CN 将过时的登录(不可用)画面与服务器网址重导向为新的页面 // @version 1.0.2 // @author Max // @icon https://www.goddessfantasy.net/favicon.gif // @match https://goddessfantasy.net/bbs/index.php // @match http://45.79.87.129/* // @license MPL2.0 // @grant none // ==/UserScript== class Redirector { constructor() { this.oldLogInUrl = 'https://goddessfantasy.net/bbs/index.php'; this.newHomeUrl = 'https://www.goddessfantasy.net/bbs/index.php'; this.oldServerUrl = 'http://45.79.87.129/'; this.newServerUrl = 'https://www.goddessfantasy.net/'; this.init(); } init() { const currentUrl = window.location.href; if (currentUrl === this.oldLogInUrl) { window.location.replace(this.newHomeUrl); }else if (currentUrl.includes(this.oldServerUrl)) { const newUrl = currentUrl.replace(this.oldServerUrl, this.newServerUrl); window.location.replace(newUrl); } } } new Redirector();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址