How to get help for Firefox command line parameters
Using Windows 11 and a recent version of Firefox, if I open a command prompt window and enter: C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help
I get nothing.
But it works if I add "| more": C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help | more Usage: C:\Program Files\Mozilla Firefox Esr\firefox.exe [ options ... ] [URL]
where options include:
-h or --help Print this message.
-v or --version Print Firefox version.
--full-version Print Firefox version, build and platform build ids.
-P <profile> Start with <profile>.
--profile <path> Start with profile at <path>.
--migration Start with migration wizard.
--ProfileManager Start with ProfileManager.
--origin-to-force-quic-on <origin>
Force to use QUIC for the specified origin.
--new-instance Open new instance, not a new window in running instance.
--safe-mode Disables extensions and themes for this session.
--allow-downgrade Allows downgrading a profile.
--MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable,
overrides it.
--MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable,
overrides it. If MOZ_LOG_FILE is not specified as an
argument or as an environment variable, logging will be
written to stdout.
--console Start Firefox with a debugging console.
--headless Run without a GUI.
--browser Open a browser window.
--new-window <url> Open <url> in a new window.
--new-tab <url> Open <url> in a new tab.
--private-window <url> Open <url> in a new private window.
--preferences Open Options dialog.
--screenshot [<path>] Save screenshot to <path> or in working directory.
--window-size width[,height] Width and optionally height of screenshot.
--search <term> Search <term> with your default search engine.
--setDefaultBrowser Set this app as the default browser.
--first-startup Run post-install actions before opening a new window.
--kiosk Start the browser in kiosk mode.
--kiosk-monitor <num> Place kiosk browser window on given monitor.
--disable-pinch Disable touch-screen and touch-pad pinch gestures.
--jsconsole Open the Browser Console.
--devtools Open DevTools on initial load.
--jsdebugger [<path>] Open the Browser Toolbox. Defaults to the local build
but can be overridden by a firefox path.
--wait-for-jsdebugger Spin event loop until JS debugger connects.
Enables debugging (some) application startup code paths.
Only has an effect when `--jsdebugger` is also supplied.
--start-debugger-server [ws:][ <port> | <path> ] Start the devtools server on
a TCP port or Unix domain socket path. Defaults to TCP port
6000. Use WebSocket protocol if ws: prefix is specified.
--marionette Enable remote control server.
--remote-debugging-port [<port>] Start the Firefox Remote Agent,
which is a low-level remote debugging interface used for WebDriver
BiDi and CDP. Defaults to port 9222.
--remote-allow-hosts <hosts> Values of the Host header to allow for incoming requests.
Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html
--remote-allow-origins <origins> Values of the Origin header to allow for incoming requests.
Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html
--remote-allow-system-access Enable privileged access to the application's parent process
Can anyone explain why?
Is it possible to change Firefox so that it works without "| more"?
Note that the above was on my Windows 11 laptop, but I'm sending this from my Windows 7 desktop. None of the suggested topics were appropriate, so I selected the first one "Accessibility".
所有回覆 (1)
paul921 said
Using Windows 11 and a recent version of Firefox, if I open a command prompt window and enter: C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help I get nothing. But it works if I add "| more": C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help | more Usage: C:\Program Files\Mozilla Firefox Esr\firefox.exe [ options ... ] [URL] where options include: -h or --help Print this message. -v or --version Print Firefox version. --full-version Print Firefox version, build and platform build ids. -P <profile> Start with <profile>. --profile <path> Start with profile at <path>. --migration Start with migration wizard. --ProfileManager Start with ProfileManager. --origin-to-force-quic-on <origin> Force to use QUIC for the specified origin. --new-instance Open new instance, not a new window in running instance. --safe-mode Disables extensions and themes for this session. --allow-downgrade Allows downgrading a profile. --MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, overrides it. --MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, overrides it. If MOZ_LOG_FILE is not specified as an argument or as an environment variable, logging will be written to stdout. --console Start Firefox with a debugging console. --headless Run without a GUI. --browser Open a browser window. --new-window <url> Open <url> in a new window. --new-tab <url> Open <url> in a new tab. --private-window <url> Open <url> in a new private window. --preferences Open Options dialog. --screenshot [<path>] Save screenshot to <path> or in working directory. --window-size width[,height] Width and optionally height of screenshot. --search <term> Search <term> with your default search engine. --setDefaultBrowser Set this app as the default browser. --first-startup Run post-install actions before opening a new window. --kiosk Start the browser in kiosk mode. --kiosk-monitor <num> Place kiosk browser window on given monitor. --disable-pinch Disable touch-screen and touch-pad pinch gestures. --jsconsole Open the Browser Console. --devtools Open DevTools on initial load. --jsdebugger [<path>] Open the Browser Toolbox. Defaults to the local build but can be overridden by a firefox path. --wait-for-jsdebugger Spin event loop until JS debugger connects. Enables debugging (some) application startup code paths. Only has an effect when `--jsdebugger` is also supplied. --start-debugger-server [ws:][ <port> | <path> ] Start the devtools server on a TCP port or Unix domain socket path. Defaults to TCP port 6000. Use WebSocket protocol if ws: prefix is specified. --marionette Enable remote control server. --remote-debugging-port [<port>] Start the Firefox Remote Agent, which is a low-level remote debugging interface used for WebDriver BiDi and CDP. Defaults to port 9222. --remote-allow-hosts <hosts> Values of the Host header to allow for incoming requests. Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html --remote-allow-origins <origins> Values of the Origin header to allow for incoming requests. Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html --remote-allow-system-access Enable privileged access to the application's parent process Can anyone explain why? Is it possible to change Firefox so that it works without "| more"? Note that the above was on my Windows 11 laptop, but I'm sending this from my Windows 7 desktop. None of the suggested topics were appropriate, so I selected the first one "Accessibility".
paul921 said
Using Windows 11 and a recent version of Firefox, if I open a command prompt window and enter: C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help I get nothing. But it works if I add "| more": C:\Users\Admin\Documents>"C:\Program Files\Mozilla Firefox Esr\firefox.exe" --help | more Usage: C:\Program Files\Mozilla Firefox Esr\firefox.exe [ options ... ] [URL] where options include: -h or --help Print this message. -v or --version Print Firefox version. --full-version Print Firefox version, build and platform build ids. -P <profile> Start with <profile>. --profile <path> Start with profile at <path>. --migration Start with migration wizard. --ProfileManager Start with ProfileManager. --origin-to-force-quic-on <origin> Force to use QUIC for the specified origin. --new-instance Open new instance, not a new window in running instance. --safe-mode Disables extensions and themes for this session. --allow-downgrade Allows downgrading a profile. --MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, overrides it. --MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, overrides it. If MOZ_LOG_FILE is not specified as an argument or as an environment variable, logging will be written to stdout. --console Start Firefox with a debugging console. --headless Run without a GUI. --browser Open a browser window. --new-window <url> Open <url> in a new window. --new-tab <url> Open <url> in a new tab. --private-window <url> Open <url> in a new private window. --preferences Open Options dialog. --screenshot [<path>] Save screenshot to <path> or in working directory. --window-size width[,height] Width and optionally height of screenshot. --search <term> Search <term> with your default search engine. --setDefaultBrowser Set this app as the default browser. --first-startup Run post-install actions before opening a new window. --kiosk Start the browser in kiosk mode. --kiosk-monitor <num> Place kiosk browser window on given monitor. --disable-pinch Disable touch-screen and touch-pad pinch gestures. --jsconsole Open the Browser Console. --devtools Open DevTools on initial load. --jsdebugger [<path>] Open the Browser Toolbox. Defaults to the local build but can be overridden by a firefox path. --wait-for-jsdebugger Spin event loop until JS debugger connects. Enables debugging (some) application startup code paths. Only has an effect when `--jsdebugger` is also supplied. --start-debugger-server [ws:][ <port> | <path> ] Start the devtools server on a TCP port or Unix domain socket path. Defaults to TCP port 6000. Use WebSocket protocol if ws: prefix is specified. --marionette Enable remote control server. --remote-debugging-port [<port>] Start the Firefox Remote Agent, which is a low-level remote debugging interface used for WebDriver BiDi and CDP. Defaults to port 9222. --remote-allow-hosts <hosts> Values of the Host header to allow for incoming requests. Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html --remote-allow-origins <origins> Values of the Origin header to allow for incoming requests. Please read security guidelines at https://firefox-source-docs.mozilla.org/remote/Security.html --remote-allow-system-access Enable privileged access to the application's parent process Can anyone explain why? Is it possible to change Firefox so that it works without "| more"? Note that the above was on my Windows 11 laptop, but I'm sending this from my Windows 7 desktop. None of the suggested topics were appropriate, so I selected the first one "Accessibility".
由 Ali Ali (Ali) 於