Greasy Fork

来自缓存

Greasy Fork is available in English.

萌娘百科网址重定向

重定向萌娘移动版的网址到桌面版

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         萌娘百科网址重定向
// @namespace    https://github.com/Kennnnnnji/Moegirl-Redirect
// @version      0.12
// @description  重定向萌娘移动版的网址到桌面版
// @include      *://mzh.moegirl.org.cn/*
// @include      *://zh.moegirl.org.cn/zh-tw*
// @author       created by Kennnnnnji
// @grant        none
// @run-at       document-start
// ==/UserScript==

document.location.href = document.location.href.replace('mzh.moegirl.org.cn.cc', 'zh.moegirl.org.cn').replace('mzh.moegirl.org.cn', 'zh.moegirl.org.cn').replace('zh-tw', 'zh-cn');