We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Since updating to firefox 25 my "undo closed tab", "restore recently closed tabs", and "restore previous session" are greyed out, I have tried resetting default

  • 10 个回答
  • 63 人有此问题
  • 3 次查看
  • 最后回复者为 Randy G.

more options

I have only had this problem since updating to firefox 25. I have already tried resetting the ff deafaults. it did restore the "undo close tab" for a short while. but when i exited and restarted ff i have the same problem again. I don't want to have to keep resetting the defaults, because it is too time consuming to then set all my preferences again.

I have only had this problem since updating to firefox 25. I have already tried resetting the ff deafaults. it did restore the "undo close tab" for a short while. but when i exited and restarted ff i have the same problem again. I don't want to have to keep resetting the defaults, because it is too time consuming to then set all my preferences again.

被采纳的解决方案

I had this problem as well, I couldn't select "Restore recently closed tabs" under History because it was grayed out.

I went to about:config und changed browser.sessionstore.max_tabs_undo to 10 from 0 (which 10 is default), und I set browser.sessionstore.max_windows_undo to 3 from 0 (which 3 is default).

For me, this fixed my issue und now I can restore recently closed tabs.

定位到答案原位置 👍 14

所有回复 (10)

more options

You can check the browser.sessionstore.* prefs on the about:config page and reset user set (bold) browser.sessionstore.*prefs to the default value via the right-click context menu to make sure that Session Restore is enabled and working properly.


Make sure that you do not run Firefox in (permanent) Private Browsing mode (Never Remember History).

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"
  • Deselect: [ ] "Always use private browsing mode"

If you do not keep changes after a restart or otherwise have problems with preferences, see:

more options

Thanks for you reply. I have gone to the about:config page and reset user set (bold) browser.sessionstore.*prefs. But that doesn't help me with the "undo close tab" that appears in a menu when you right click on any tab. I also have a problem with the "recently closed tab" found under history on the menu bar.

I have also reset the defaults on firefox again. Both of those options worked for a short while. But once I turned off the computer and restarted everything again they don't work again.

more options

Are there any prefs changed after you reboot the computer?

You can make a backup copy of the prefs.js file after you close Firefox and see if the file got changed after the reboot.
A compare of the two files will show which prefs got changed.

more options

The preferences you set in Firefox can be overridden by add-ons and external software.

  • If Firefox works normally during the rest of your browsing session after you reset the preferences, and is not broken again until after you exit and restart the browser (or shut down and restart Windows), I would suspect external software. Perhaps you have other software with a feature of increasing browser privacy? Please see this article (linked in cor-el's post above), especially the part about a possible user.js file: How to fix preferences that won't save.
  • If Firefox ignores your preference changes or reverts them immediately, an add-on, particularly an extension, is a more likely culprit. Try disabling ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    • Ctrl+Shift+a
    • orange Firefox button (or Tools menu) > Add-ons

In the left column, click Extensions. Then, if in doubt, disable.

Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.

more options

选择的解决方案

I had this problem as well, I couldn't select "Restore recently closed tabs" under History because it was grayed out.

I went to about:config und changed browser.sessionstore.max_tabs_undo to 10 from 0 (which 10 is default), und I set browser.sessionstore.max_windows_undo to 3 from 0 (which 3 is default).

For me, this fixed my issue und now I can restore recently closed tabs.

more options

Hi P5yx0Z0, thanks for posting that solution.

It appears that an add-on or external software might be modifying your settings. If it happens again, could you report on what Firefox extensions you have enabled, and whether you use any external privacy or system cleaning software that might be causing this?

more options

Thanks for everyone's help. I'm not the most tech savvy person, so sometimes it takes me a while to work through all the answers. P5yx0Z0's answer has helped the most.

more options

You are most welcome. I'm glad it helped you out. ^^

more options

jscher2000,

I can assure you it wasn't an add-on.

I actually wiped my computer und installed Windows 7 Professional, everything was stock, downloaded Firefox, und Firefox was installed like that on my computer. It came grayed out. All I did was download/install it from the firefox main page. Opened it up, und started to collect the files I had stored on my cloud service. So nothing specifically was interacting with the way Firefox behaved, because I hadn't gotten that far yet to customize firefox.

However, when I accidentally closed a tab, und I went to restore it, that's when I noticed it was grayed out.

So, it wasn't anything on my end that caused that. At least logic would dictate it wasn't anything on my end that caused that. Because simply downloading files in zip format to put back on my computer from my cloud wouldn't have had an effect on firefox.

It was a simple fix for me, being average at working about:config since I've had to tinker so much within the last few years with it.

I set those two things back to their normalities, as well as a few other thing of my own preference, und Firefox hasn't given me any issue.

Now, all my issues have been long since resolved.

Danke, though. ^^


Edit to add: Also, to clarify, I hadn't installed any software on my computer at the time, since all my stuff was in cloud. I just downloaded everything in zip files. Hadn't even gotten around to installing anything except for Firefox.

由P5yx0Z0于修改

more options

I had the same difficulty. Could not use the Ctrl+Shift+T combo to undo close tabs. The solutions mentioned here did not work. I turned off the add-on "Tab Mix Plus" and the keystroke combo worked. Updating to the latest version of Tab Mix Plus solved the issue.