You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a command-line option to open Web App in private window #784
Could you add a command‑line option that opens the app in a private window?
Problem Description
It looks like the current command‑line tool of firefoxpwa does not support opening in a private window. I tried the following command:
firefoxpwa site launch <Web App ID> -- --privete-window
I expected the --private-window argument to be passed to the runtime, and the app would open inside a private window. Instead, two windows appeared: one normal window that opened the app page, and a private window that opened about:privatebrowsing instead of the app page.
At the moment, after launching the app normally, We have to manually open a private window from the menu.
Proposed Solution
I would like to propose implementing a command‑line option such as --private to open the app directly in a private window. I envision usage like this:
firefoxpwa site launch <Web App ID> --private
Additional Information
While using a web app in a private window may be uncommon, in my case I often use the app while logged out of the site or temporarily with the default settings. Being able to open the web app in a private window from the command line would be very convenient.
I’m not very familiar with JavaScript or Rust, so creating a pull request by editing the code myself might be difficult. However, if you need any additional information or assistance, I’d be happy to help.
Activity
filips123 commentedon Jan 13, 2026
I will try to fix that
--private-windowdoesn't work.Support launching in private windows (fixes filips123#784)