X
點擊此處開啟此網站的行動版。

技術支援討論區

Browser does not ask to save and quit anymore even when browser.ShowQuitWarning is set to true, how to fix this?

已張貼

So there was an issue where my browser stopped automatically restoring my previous session after closing it. I followed some instructions I found online that told me to tick the option for it under Options -> General -> Startup, and this fixed the problem. However, this seemed to have caused my browser to directly close and stop asking me to save and quit even while browser.ShowQuitWarning is set to true in about:config.

If I tick off the option to automatically restore my previous session, however, I do get a warning that tells me I'm about to close my browser, but it only gives me the options to close tabs and cancel closing my browser; the option to save & quit is absent entirely.

That's about everything I know that could be related to this issue.

So there was an issue where my browser stopped automatically restoring my previous session after closing it. I followed some instructions I found online that told me to tick the option for it under Options -> General -> Startup, and this fixed the problem. However, this seemed to have caused my browser to directly close and stop asking me to save and quit even while browser.ShowQuitWarning is set to true in about:config. If I tick off the option to automatically restore my previous session, however, I do get a warning that tells me I'm about to close my browser, but it only gives me the options to close tabs and cancel closing my browser; the option to save & quit is absent entirely. That's about everything I know that could be related to this issue.

被選擇的解決方法

Firefox 63 doesn't have the browser.showQuitWarning preference any more.

Firefox will automatically save your session.

To restore your session, as you've noted, you can use the menu:

  • menu button > Restore Previous Session
  • (menu bar) History > Restore Previous Session

or you can set the option to restore automatically:

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

It's the first checkbox on the page ("General" panel), "Restore previous session".

Is there another scenario you need to cover?

從原來的回覆中察看解決方案 1

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 27.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

更多資訊

jscher2000
  • Top 10 Contributor
8632 個解決方法 70604 個答案

選擇的解決方法

Firefox 63 doesn't have the browser.showQuitWarning preference any more.

Firefox will automatically save your session.

To restore your session, as you've noted, you can use the menu:

  • menu button > Restore Previous Session
  • (menu bar) History > Restore Previous Session

or you can set the option to restore automatically:

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

It's the first checkbox on the page ("General" panel), "Restore previous session".

Is there another scenario you need to cover?

Firefox 63 doesn't have the '''browser.showQuitWarning''' preference any more. Firefox will automatically save your session. To restore your session, as you've noted, you can use the menu: * menu button > Restore Previous Session * (menu bar) History > Restore Previous Session or you can set the option to restore automatically: * Windows: "3-bar" menu button (or Tools menu) > Options * Mac: "3-bar" menu button (or Firefox menu) > Preferences * Linux: "3-bar" menu button (or Edit menu) > Preferences * Any system: type or paste '''about:preferences''' into the address bar and press Enter/Return to load it It's the first checkbox on the page ("General" panel), "Restore previous session". Is there another scenario you need to cover?
smcc42 3 個解決方法 40 個答案

I am aware of the Restore Previous Session option but it simply adds another layer to the process. Is there a good reason why the the SaveandQuit has been removed?

I note that the the browser.showQuitWarning no longer exists in preferences but it still appears in about:config. Confusing or what?

I am aware of the Restore Previous Session option but it simply adds another layer to the process. Is there a good reason why the the SaveandQuit has been removed? I note that the the browser.showQuitWarning no longer exists in preferences but it still appears in about:config. Confusing or what?

由 smcc42 於 修改

jscher2000
  • Top 10 Contributor
8632 個解決方法 70604 個答案

I'm sure there's a way to research the "why."

Obsolete preferences that you have customized can linger forever. I probably have some left over from extensions I tried for 5 minutes 10 years ago...

I'm sure there's a way to research the "why." Obsolete preferences that you have customized can linger forever. I probably have some left over from extensions I tried for 5 minutes 10 years ago...
cor-el
  • Top 10 Contributor
  • Moderator
17409 個解決方法 157268 個答案

See also:

  • Bug 1487547 - Config browser.showQuitWarning stopped working - it won't show "Save and quit" dialog

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

See also: *[https://bugzilla.mozilla.org/show_bug.cgi?id=1487547 Bug 1487547] - Config browser.showQuitWarning stopped working - it won't show "Save and quit" dialog (<i>please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>)
interestingfellow 1 個解決方法 4 個答案

delete this

delete this

由 interestingfellow 於 修改