您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Userscript that redirects from Reddit to old Reddit
// ==UserScript== // @name Redirect From Reddit To Old Reddit // @namespace https://vanyauhalin.me/ // @version 0.1.0 // @icon https://www.google.com/s2/favicons/?sz=64&domain=old.reddit.com // @description Userscript that redirects from Reddit to old Reddit // @author Ivan Uhalin <[email protected]> (https://vanyauhalin.me/) // @license MIT // @homepageURL https://github.com/vanyauhalin/userscript-redirect-from-reddit-to-old-reddit/ // @contributionURL https://github.com/vanyauhalin/userscript-redirect-from-reddit-to-old-reddit/ // @match https://www.reddit.com/* // @run-at document-start // ==/UserScript== (() => { "use strict"; function main() { let u = new URL(window.location.pathname, "https://old.reddit.com/"); window.location.replace(u.toString()); } main(); })();