Created
January 31, 2025 09:11
-
-
Save asukaminato0721/67667d82023f709c5c51fb7cb9d2978a to your computer and use it in GitHub Desktop.
auto jump to fxzhihu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 知乎自动跳转 fxzhihu | |
// @namespace Violentmonkey Scripts | |
// @version 0.1 | |
// @description 访问知乎自动跳转到 fxzhihu | |
// @author You | |
// @match https://www.zhihu.com/question/*/answer/* | |
// @match https://www.zhihu.com/answer/* | |
// @match https://zhuanlan.zhihu.com/p/* | |
// @match https://www.zhihu.com/pin/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const fxzhihuUrl = window.location.href.replace("zhihu.com", "fxzhihu.com"); | |
window.location.replace(fxzhihuUrl); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment