您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
对 wuyou.net 子域名进行重定向(如搜索引擎收录的 bbs.c3.wuyou.net)以保持一致的体验。
- // ==UserScript==
- // @name wuyou.net Domain Redirect
- // @name:zh-CN 无忧启动论坛 wuyou.net 子域名重定向
- // @author ttimasdf
- // @namespace https://rabit.pw/
- // @license Apache License 2.0
- // @version 1.0
- // @description Redirects duplicated wuyou.net subdomains for a consistent experience and login status.
- // @description:zh-CN 对 wuyou.net 子域名进行重定向(如搜索引擎收录的 bbs.c3.wuyou.net)以保持一致的体验。
- // @match http://bbs.c3.wuyou.net/*
- // @match http://wuyou.net/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Redirect to the desired URL
- window.location.href = "http://bbs.wuyou.net" + window.location.pathname + window.location.search;
- })();