Skip to content

Add a command-line option to open Web App in private window #784

Closed

Description

@TranslucentFoxHuman

Thank you for developing such a wonderful tool.

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

  1. filips123 commented on Jan 13, 2026

    @filips123
    Owner

    I will try to fix that --private-window doesn't work.

  2. added
    bug
    and removed
    enhancement
    on Aug 15, 2026
  3. added this to the 2.18.5 milestone on Aug 15, 2026
  4. moved this from To Do to In Progress in PWAsForFirefoxon Aug 15, 2026
  5. moved this from In Progress to Done in PWAsForFirefoxon Aug 16, 2026
  6. added a commit that references this issue on Aug 17, 2026
    b55ceab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions