fune/browser/app/pbproxy/docs/index.rst
Ben Hearsum 4cc0c36830 Bug 1761291: create wrapper to launch Firefox in Private Browsing mode r=rkraesig,glandium
This allows us to fix a bug where when our current Private Browsing shortcuts are pinned to the Start Menu, they use the regular Firefox Visual Elements (which is the non-Private Browsing logo). I tried to make this as minimal and braindead as possible.

Differential Revision: https://phabricator.services.mozilla.com/D151538
2022-08-03 13:49:04 +00:00

15 lines
765 B
ReStructuredText

======================
Private Browsing Proxy
======================
On Windows, Firefox ships with a small binary that always launches
``firefox.exe`` in Private Browsing mode (``private_browsing.exe``). Its sole
purpose for existing is to allow Private Browsing shortcuts to have their own
Visual Elements. This is most notably seen when pinning a Private Browsing
shortcut to the Start Menu -- Visual Elements are used for the icon there
rather than the shortcut's icon.
In addition to always passing ``-private-window``, ``private_browsing.exe``
will forward any other command line arguments given to it to ``firefox.exe``.
It will also forward shortcut information from the Windows ``STARTUPINFOW``
structure to ensure that Firefox knows how it was started.