Reddit Retractable Sidebar

Make Reddit's Sidebar Retractable

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
brian6932
今日安裝
0
安裝總數
35
評價
0 0 0
版本
0.5.7
建立日期
2024-12-27
更新日期
2025-05-17
尺寸
3.9 KB
授權條款
MIT
腳本執行於

Reddit Retractable Sidebar

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.

Things to note.

  • The fork adds prefers-color-scheme dark and light modes.
  • Will only work on Old Reddit.
  • As of version 0.4, you can toggle the sidebar by pressing q.