您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make Reddit's Sidebar Retractable
If you do a lot of split screen Redditing, you'll quickly find that the sidebar can be a nuisance. Well, this script makes that sidebar retractable.
It adds a FAB button to the right-hand side of the screen which allows you to hide or show the sidebar. A localStorage
entry's added to remember the sidebar's last position, so that you can browse the site without continually hiding it.
This is a full rewrite of https://github.com/MichaelCharles/reddit-retractable-sidebar without the use of jQuery.
prefers-color-scheme
dark and light modes.0.4
, you can toggle the sidebar by pressing q.