Collapsible Sidebar for old.reddit

Toggles sidebar. Expands main content.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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!