Untuk informasi lebih lanjut, ini adalah ./firefox --help
keluaran apa di Mac saya:
Usage: ./firefox [ options ... ] [URL]
where options include:
--g-fatal-warnings Make all warnings fatal
Firefox options
-h or --help Print this message.
-v or --version Print Firefox version.
-P <profile> Start with <profile>.
--profile <path> Start with profile at <path>.
--migration Start with migration wizard.
--ProfileManager Start with ProfileManager.
--no-remote Do not accept or send remote commands; implies
--new-instance.
--new-instance Open new instance, not a new window in running instance.
--UILocale <locale> Start with <locale> resources as UI Locale.
--safe-mode Disables extensions and themes for this session.
--headless Run without a GUI.
--marionette Enable remote control server.
--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 Preferences dialog.
--search <term> Search <term> with your default search engine.
--jsconsole Open the Browser Console.
--jsdebugger Open the Browser Toolbox.
--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.
--devtools Open DevTools on initial load.
--start-debugger-server [ws:][ <port> | <path> ] Start the debugger server on
a TCP port or Unix domain socket path. Defaults to TCP port
6000. Use WebSocket protocol if ws: prefix is specified.
--recording <file> Record drawing for a given URL.
--recording-output <file> Specify destination file for a drawing recording.
--setDefaultBrowser Set this app as the default browser.
Anda dapat melihat bahwa tidak ada opsi suka restore-session
terdaftar. Juga, dokumen resmi Mozilla mencantumkan 7 kasus ketika Firefox memulihkan sesi, tanpa menyebutkan baris perintah.
Anda dapat mencoba mengkonfigurasi Firefox untuk selalu mengembalikan sesi sebelumnya di Preferensi> Umum> Saat Firefox dimulai (pilih Show your windows and tabs from last time
) dan panggil ./firefox
dengan jelas.