Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
SleepyTabs - Beautiful Tab Suspender 预览

SleepyTabs - Beautiful Tab Suspender 作者: Sato

SleepyTabs is a browser extension that helps you manage browser tabs by automatically putting inactive tabs to sleep to save memory and improve browser performance.

4.7 (7 reviews)4.7 (7 reviews)
131 个用户131 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Popup window, main tabSidebar MainAppearance tabAdvanced tabStandard Sleeping PagePage with themePage with theme and wallpaperSleepy SessionsSleepy Sessions
关于此扩展
SleepyTabs - Browser Tab Suspender & Manager

SleepyTabs is a browser extension that helps you manage browser tabs by automatically putting inactive tabs to sleep to save memory and improve browser performance.

✨ Key Features
  • 🔄 Automatic Tab Sleeping - Save memory after your chosen inactivity period
  • 🎛️ Intuitive Controls - Sleep or wake tabs with simple clicks or keyboard shortcuts
  • 🎨 Beautiful Sleeping Pages - Customize with themes and wallpapers
  • ⚙️ Flexible Configuration - Tailor to your exact preferences
  • 🔒 Privacy Focused - Works entirely in your browser, no data sent externally
  • 🎯 Context Menu: Right-click on a tab/page for SleepyTabs options.
  • 🌐 Sync Settings: Synchronize settings across multiple browsers
  • 📦 Import/Export: Easily import/export your settings
  • 📂 Sessions: View and restore recently closed tabs/windows and snapshots

🛠️ Tab Management
  • Sleep tabs automatically after customizable inactivity periods
  • Whitelist important sites that should never sleep
  • Configure which tabs can sleep (pinned, audible, etc.)
  • Sync your settings across multiple browsers
  • Easily export/import your configuration

🎭 Themes

Choose from multiple professionally designed themes:
  • Dark (Default)
  • Light
  • Midnight
  • Sepia
  • Solarized
  • Nord

Add beautiful wallpapers to your sleeping tabs with adjustable brightness!

📂 Sessions
  • Recently Closed Management: Easily restore or forget recently closed tabs and windows
  • Session Snapshots: Create, edit, and restore snapshots of your current browser session
  • Tab Tagging: Organize tabs with customizable tags and colors
  • Filtering: Filter tabs by domain, time closed, and tags

⌨️ Keyboard Shortcuts
  • Put current tab to sleep: Ctrl+Shift+1
  • Sleep all tabs: Ctrl+Shift+2
  • Wake all tabs: Ctrl+Shift+3
  • Open SleepyTabs sidebar: Ctrl+Shift+4
  • Wake sleeping tabs: Enter

Usage

Basic Controls
  • Put Tab to Sleep: Sleeps the current tab
  • Sleep All Tabs: Sleeps all eligible tabs
  • Wake All Tabs: Restores all sleeping tabs
Note: The "Put Tab to Sleep" button bypasses whitelist settings and other tab exclusion rules, allowing you to manually sleep any tab. The automatic sleep and "Sleep All Tabs" features will respect your whitelist and other settings.

Configuration Options
  • Put tabs to sleep after: Set the inactivity time before tabs sleep (in minutes)
  • Maximum active tabs: Set a limit on how many tabs can remain active
  • Auto-wake tabs when clicked: When enabled, sleeping tabs automatically wake up when clicked
  • Themes: Customize the appearance of the sleeping pages
  • Wallpaper settings:
  • Enable/disable custom wallpapers
  • Set custom wallpaper URL
  • Adjust wallpaper brightness
  • Tab grouping: Configure automatic tab grouping options
  • Tab title prefix: Choose from emoji prefixes (💤, 😴, 🛌, 🌙, 🔕, ⏸️) or set a custom prefix

Advanced Options
  • Customize check interval for inactive tabs
  • Set grace period for tab sleeping
  • Configure which types of tabs can sleep:
  • Audible tabs
  • Active tabs
  • Private tabs
  • Loading tabs
  • Tabs requesting attention
  • Pinned tabs
  • Grouped tabs
  • Reader mode tabs
  • Experimental features toggle

Whitelist

Add domains or URLs to the whitelist to prevent specific sites from being put to sleep.

Technical Details

SleepyTabs is made for Firefox with support for Chrome.

SleepyTabs is built using browser extension APIs and works by:
  1. Monitoring tab activity using browser events
  2. Storing tab information in the browser's local storage
  3. Replacing inactive tabs with lightweight placeholder pages
  4. Restoring tabs to their original state when needed

Privacy

SleepyTabs operates entirely within your browser. No data is sent to external servers, and all tab information is stored locally in your browser's storage.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests to help improve SleepyTabs.

📥 Installation

Firefox || Chrome

🚀 From Source

If you want to build and test SleepyTabs, you can follow these steps:
  1. Clone the repository: git clone https://gitlab.com/satoru8/sleepytabs.git
  2. Install dependencies:
  3. Using Bun (recommended): bun i
  4. Using npm: npm install
  5. Run the extension:
  6. Using Bun:
    • For development: bun run build
    • For production: bun run package
  7. Using npm/Node.js:
    • For development: node build.js
    • For production: NODE_ENV=production node build.js
    • For both browsers: BUILD_BOTH=true node build.js
  8. Load the extension in Firefox or Chrome

The extension will be built and saved in the distF (Firefox) & distC (Chrome) directories. Packaged zips will be available in the artifacts directory.
Note: The project is optimized for Bun, but can work with Node.js. You may need to set environment variables manually when using Node.js directly instead of Bun.

License

SleepyTabs is licensed under the GNU Affero General Public License v3.0
开发者留言
Known issues:
1. Tab restoration can occasionally fail after browser crashes, restarts, or when the browser changes tab IDs internally.
2. We've implemented several safeguards to handle these edge cases, including:
- Primary UUID tracking instead of relying solely on tab IDs
- Restoring from original URL when ID/UUID matching fails
- Session storage backup for catastrophic recovery

Recent improvements:
- Completely redesigned tab tracking system using persistent UUIDs
- Restore button when tabinfo cant load.
- Better safeguards when something does go wrong.
- Session recovery
- Added comprehensive data management tools for troubleshooting
- Improved tab group handling and preservation
- Added side panel support for better tab management

The extension is fully open source and available at: https://gitlab.com/satoru8/sleepytabs
评分 4.7(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
5
4
2
3
0
2
0
1
0
阅读全部 7 条评价
权限与数据详细了解

必要权限:

  • 为您显示通知
  • 获取最近关闭的标签页
  • 获取浏览器标签页

收集的数据:

  • 开发者称此扩展无需收集数据。
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.3.5
大小
159.16 KB
上次更新
3 天前 (2025年9月17日)
相关分类
  • 标签页
许可证
仅 GNU Affero 通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
支持这位开发者

此扩展的开发者寻求您的小小捐助以支持其持续发展。

我要捐款

1.3.5 的发布说明
Version 1.3.5 (September 16, 2025)
  • Show the update version number in the Update Notice.
  • Some visual updates to the changelog page.
  • Various updates to the wake up and restore tabs. Prefer UUID. As tabIds can change between sessions. (Will need to continue to ensure this works in all cases.)
  • i18n updates. Current Locales, EN, ES, FR, CN, JP.
  • Translations still need more work.

New Features

Discard Only
  • New Advanced setting. If enabled, tabs will be discarded(unloaded) only, instead of using a sleeping page. This offers the same amount of resource savings without any appearance features.

Data Manager
  • New feature, allows you to clear/delete specific extension data.
  • If you've been using SleepyTabs for a month+. It might be a good idea to Wake All Tabs, then clear all data.

Other

Privacy
Added a privacy policy. You can find it here

Added the "data_collection_permissions": none, as per the firefox policy. Give it a read here

Notes
Thats about it for this one. Hopefully, we should be around 99% bug-free in terms of sleep/wake functionality. Feedback, bugs, issues, suggestions? Feel free to join the discord or drop a msg on the gitlab. Reviews always appreciated!
Sato 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。