The PWAsForFirefox repository provides a tool to enable Progressive Web Apps (PWAs) support in Mozilla Firefox by simulating a native PWA experience. While Firefox does not natively support PWAs as standalone system apps like Chromium-based browsers (e.g., Chrome, Brave, Edge), this project bridges that gap by combining a browser extension, native programs, and Firefox UI modifications.
Overview of PWAsForFirefox
Features:
- Standalone PWA Installation and Management:
- PWAs are installed as standalone apps with their own windows, menus, and taskbar icons.
- They have an app-like feel, without tabs or an address bar.
- Command-Line Tool and Extension:
- A CLI tool for managing PWAs.
- A browser extension for easier installation and management directly from Firefox.
- Custom Profiles for Isolation:
- PWAs are stored in isolated Firefox installations and profiles, improving stability and allowing customization.
- System Integration:
- Creates start menu entries and taskbar icons for installed PWAs.
- Support for Firefox Add-ons:
- Installed PWAs retain support for Firefox extensions and built-in features.
Implementation:
- Browser Extension: A user-friendly interface for managing PWAs within Firefox.
- Native Program: Written in Rust, it handles tasks such as installing Firefox runtimes, patching the browser, and launching PWAs.
- UserChrome Modifications: JavaScript and CSS tweaks to Firefox's UI for a more app-like experience.
Comparison with Brave and Chromium Native PWA Support
Brave/Chromium Native PWAs:
- Chromium-based browsers (e.g., Brave, Chrome, Edge) have native PWA support built directly into the browser.
- PWAs can be installed with a single click from the browser UI.
- They are deeply integrated with the operating system, leveraging features like app manifests, system shortcuts, and APIs like Filesystem, Bluetooth, and more.
- Chromium browsers inherently support Windows APPX/MSIX packages for PWAs and can be installed from the Microsoft Store.
PWAsForFirefox:
- Not Native Support:
- PWAsForFirefox enables PWA functionality by patching Firefox and modifying its UI. It is not part of Firefox's core functionality.
- It relies on UserChrome modifications and external tools to simulate a native experience.
- Limited System Integration:
- While it supports creating standalone apps with system shortcuts, it currently lacks support for certain Chromium-specific APIs (Bluetooth, NFC, USB, etc.).
- Customization and Add-ons:
- PWAsForFirefox retains the flexibility of Firefox, including full add-on support and custom profiles, which Chromium browsers do not offer for PWAs.
- Cross-Platform Availability:
- PWAsForFirefox works across Windows, macOS, Linux, and BSD with various installation options.
Conclusion:
PWAsForFirefox is a workaround to bring PWA support to Firefox, offering similar functionality to Chromium browsers but with some limitations:
- It requires external tools and browser modifications, unlike native support in Chromium-based browsers.
- It does not yet support advanced system-level PWA features (e.g., Windows Store integration, Chromium-specific APIs).
- However, it provides Firefox-specific advantages, such as full add-on support, isolated profiles, and customization options.
If you prefer Firefox and need PWA functionality, this project is a great solution, but for seamless, native PWA support, Chromium-based browsers remain the more straightforward choice.