您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
turns off subreddit style and hides sidebar
// ==UserScript== // @name RedditSimplifier // @namespace http://tampermonkey.net/ // @version 0.2 // @description turns off subreddit style and hides sidebar // @author hello_frenz // @match https://www.reddit.com/* // @match https://old.reddit.com/* // @grant none // ==/UserScript== //Paste: https://pastebin.com/XfdxTbzU (function() { 'use strict'; var chkStyle = $("#res-style-checkbox"); if (chkStyle.prop('checked')){ chkStyle.click(); } $(".side").hide(); var hide = $("<button id='btnHideSide'>"); hide.text(">>"); hide.css("position", "absolute"); hide.css("bottom", "0px"); hide.css("right", "0px"); hide.css("height", "13px"); hide.css("line-height", "10px"); hide.css("margin", "0px"); hide.css("padding", "0px"); hide.css("display", "none"); hide.click(function(){ $(".side").hide(); $("#btnShowSide").show(); $("#btnHideSide").hide(); }); $("#header").append(hide); var show = $("<button id='btnShowSide'>"); show.text("<<"); show.css("position", "absolute"); show.css("bottom", "0px"); show.css("right", "0px"); show.css("height", "13px"); show.css("line-height", "10px"); show.css("margin", "0px"); show.css("padding", "0px"); show.click(function(){ $(".side").show(); $("#btnShowSide").hide(); $("#btnHideSide").show(); }); $("#header").append(show); // Your code here... })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址