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

搜索 | 用户支持

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

详细了解

When I close a tab, focus always goes to the next tab on the right. I want it to go back to the last active tab, but I don't see that option anywhere.

  • 5 个回答
  • 3 人有此问题
  • 4 次查看
  • 最后回复者为 rx2v2x

more options

I want the focus to return to the last active tab, not to go to the next tab on the right of the closed one.

I want the focus to return to the last active tab, not to go to the next tab on the right of the closed one.

所有回复 (5)

more options

Type about:config<enter> in the address bar. If a warning screen comes up, press the I Accept the Risk button. At the top of the screen is a search bar.

browser.tabs.selectOwnerOnClose = true

more options

Thanks for the quick answer, but it's not really what I want. Let me give a little more detail. Suppose I have three tabs open. I'm reading tab two and I open a fourth tab. I go back to tab one to read something, then back to tab four. I close tab four because I'm done with it. What I want is to go back to tab one. That's what I mean by "the last active tab"...the last one I was reading. This fix doesn't do that.

With your fix, closing tab four seems to take me back to tab two, which was active when I opened four.

more options

That's all Firefox has to offer. You might find an add-on that can help.

more options

rx2v2x said

What I want is to go back to tab one. That's what I mean by "the last active tab"...the last one I was reading. With your fix, closing tab four seems to take me back to tab two, which was active when I opened four.


Try using this extension. Haven't used it in Firefox 57 just yet -- in fact I just discovered that it appears to be compatible with Firefox 57. I'm a late adopter and avoid new major updates for a few versions. Focus Last Selected Tab Switch to last selected tab when closing tab. https://addons.mozilla.org/en-US/firefox/addon/focuslastselectedtab/

more options

Thanks to both of you. I also left Firefox for a while. I've been using Vivaldi instead, but thought I'd come back and try the new version. As you can see from the attached image, this is a no-brainer in Vivaldi. Not sure it's worth fooling around with an extension, but if I get a chance, I'll give it a shot.