Skip to content

ecuware/FFSleep

Repository files navigation

🌙 FFSleep

Let your tabs sleep, free up resources.

FFSleep is a lightweight, modern Firefox extension designed to help you manage memory consumption efficiently. By putting inactive tabs to "sleep" (discarding them), FFSleep frees up valuable RAM and CPU resources without requiring you to close your tabs.


✨ Features

  • Individual Tab Control: Put any background tab to sleep manually with a single click.
  • Sleep All: Instantly discard all background tabs to reclaim maximum system resources.
  • Modern UI: A sleek, dark-themed interface designed to feel native to Firefox.
  • Tab Search: Quickly find and manage specific tabs using the integrated real-time search bar.
  • Live Stats: See at a glance how many tabs are currently active vs. sleeping.
  • Privacy First: No tracking, no data collection, and no heavy background processes.

🚀 How It Works

FFSleep uses the native browser.tabs.discard API.

  1. When a tab is "slept", the browser removes its content from memory but keeps the tab visible in your tab bar.
  2. The tab row in the popup becomes dimmed to indicate its sleeping state.
  3. Once you click on the tab (either in the popup or in the Firefox tab bar), the browser automatically reloads it, making it active again.

🛠️ Installation

Standard Installation (XPI)

  1. Download the ffsleep.xpi file.
  2. Open Firefox and drag and drop the .xpi file into the browser window.
  3. Note: For unbranded versions of Firefox, you may need to enable unsigned extensions. For regular Firefox, use the official Mozilla Add-ons store version once published.

For Developers (Temporary Loading)

  1. Open Firefox and go to about:debugging.
  2. Click on "This Firefox" in the left sidebar.
  3. Click "Load Temporary Add-on...".
  4. Navigate to the project folder and select the manifest.json file.

🎨 UI Preview

The extension features a premium dark-mode aesthetic:

  • Background: #0F172A (Deep Blue/Slate)
  • Cards: Glassmorphic dark cards
  • Accents: Gold Yellow (#FACC15) for active elements

🔒 Privacy & Data

FFSleep does not collect, store, or transmit any user data. Everything stays on your local machine.

📄 License

This project is licensed under the MIT License (or your preferred license).


Developed with ❤️ for the Firefox community.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors