Hau-Hau / firefox-tab-suspender

A Firefox extension that automatic suspend tabs and saves memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox Tab Suspender Firefox Tab Suspender logo

build@master build@develop

fox-heart-webassembly

IMPORTANT Currently this repository is not in use. New source code is not based on C language so this source code will not be in use anymore. Works on extension are moved to private repository, I don't want to repeat mistake with releasing unfinished project. Feel free to fork and share this version.

Firefox Tab Suspender is an open source (only source code, see license) extension for Firefox Browser 59+.

Extension's target are people who use older computers or just want to reduce browser's ram usage. For this reasons I strive to make Firefox Tab Suspender lightweight and performant as much as it is possible.

After install, extension will suspend unused cards according to user's settings.

Details worth to pay attention:

  • Generating big amounts of styles in development has no cost in production because of that styles are cleaned up in build process. Final stylesheet contains only used styles
  • CSS convention is highly based on SUIT naming and organizing convention
  • If it is possible - instead of writing single style's class, generate full spectrum of possibilities
  • WASM is injected after user settings load in place of //= ../.tmp/service.js comment
  • There is no need of multiply or copying images into src folder, final package contains everything in one folder

About

A Firefox extension that automatic suspend tabs and saves memory

License:Other


Languages

Language:JavaScript 54.1%Language:C 36.0%Language:SCSS 4.4%Language:HTML 3.7%Language:CMake 1.9%