Collapsible Sidebar for old.reddit

Toggles sidebar. Expands main content.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Zhiro90
今日安裝
0
安裝總數
3
評價
0 0 0
版本
1.2
建立日期
2025-12-07
更新日期
2025-12-10
尺寸
4.5 KB
授權條款
MIT
腳本執行於

Adds a simple toggle button to the top right of the screen that collapses the sidebar and forces the main content to take up 100% of the available width.

What it does:

  • Hides the sidebar (lol).
  • Forces containers (.content, .commentarea, .sitetable, etc.) to expand fully.
  • Uncaps text width limits so comments and posts actually use the extra space.
  • When you toggle the sidebar back on, the script stops overriding styles completely and goes back to default. so custom subreddit CSS works normally.

Notes:

  • Written for old.reddit.com.
  • Text can be hard to read if it stretches too wide. This is mainly for vertical monitors or if you zoom in a lot (like I do).
  • Some subreddits with heavy css might not work.
  • Enjoy the extra screen real estate!