Skip to content

Instantly share code, notes, and snippets.

@asukaminato0721
Created January 31, 2025 09:11
Show Gist options
  • Save asukaminato0721/67667d82023f709c5c51fb7cb9d2978a to your computer and use it in GitHub Desktop.
Save asukaminato0721/67667d82023f709c5c51fb7cb9d2978a to your computer and use it in GitHub Desktop.
auto jump to fxzhihu
// ==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