您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Provides a button to go to the same page on old.reddit when accidentally ending up on new Reddit.
// ==UserScript== // @name Old Reddit button // @version 1.0 // @description Provides a button to go to the same page on old.reddit when accidentally ending up on new Reddit. // @author Phoenix // @include https://*.reddit.com/* // @exclude https://old.reddit.com/* // @grant none // @license MIT // @namespace https://gf.qytechs.cn/users/952476 // ==/UserScript== (function() { 'use strict'; var node; node = document.createElement("DIV"); node.style = ` display: flex; justify-content: center; align-items: center; position: fixed; top: 9px; left: 135px; width: 160px; height: 30px; background-color: red; border-radius: 15px; z-index: 1000; cursor:pointer; color: #fff; font-weight: bold;`; node.textContent = "Switch to old.reddit"; node.addEventListener("click", function() {location.href = location.href.replace('https://www.','https://old.').replace('https://new.','https://old.'); }); document.body.appendChild(node); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址