Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Restore session

more options

Sometimes when I open Firefox a screen pops up saying "We've had difficulty restoring your session". And then a button is provided to restore the session. I press the button, and the session is restored. My question, as a programmer, is why don't you just have the browser "push the button"? Obviously, restoring the session is not as difficult as you are leading us to believe. Is there something else going on here?

Thank you for any insight you might have.

Gordon

Sometimes when I open Firefox a screen pops up saying "We've had difficulty restoring your session". And then a button is provided to restore the session. I press the button, and the session is restored. My question, as a programmer, is why don't you just have the browser "push the button"? Obviously, restoring the session is not as difficult as you are leading us to believe. Is there something else going on here? Thank you for any insight you might have. Gordon

所有回复 (1)

more options

Hi Gordon, by default, Firefox tries one automatic restore before giving up and showing that screen. You can set Firefox to try twice or three times and see whether that actually works. (If it doesn't work, perhaps there is a timing issue or deadlock and Firefox needs to complete various tasks or have an extra couple of seconds to do it.)

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.sessionstore.max_resumed_crashes and pause while the list is filtered

The default value is 1

(3) Double-click the BLAHBLAH preference to display an editing field, and change the value to 2 then press Enter or click the blue check mark button to save the change.