搜索 | 用户支持

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

详细了解

Close browser by closing last tab

  • 5 个回答
  • 8 人有此问题
  • 5 次查看
  • 最后回复者为 Kocayine

more options

I would like my browser to close when I close the last tab. I tried browser.tabs.closeWindowWithLastTab;true but when rightclicking the last tab, "close" is grayed out.

I would like my browser to close when I close the last tab. I tried browser.tabs.closeWindowWithLastTab;true but when rightclicking the last tab, "close" is grayed out.

被采纳的解决方案

Back to Chrome then, thanks.

定位到答案原位置 👍 1

所有回复 (5)

more options

(deleted by moderator)

由cor-el于修改

more options

woops sorry wrong copypasta, what i meant to say was have you tried turning it off and on again

more options

You can't close the last tab via the right-click context menu or via a middle-click if browser.tabs.closeWindowWithLastTab is true.
If the pref is false then you can close the tab, but not the window.

You can only close the last tab and window via the Ctrl+W shortcut.
Via the menu only Quit or Exit is available unless you open the File menu via the Alt+F shortcut and then you see Close Tab.

more options

选择的解决方案

Back to Chrome then, thanks.

more options

did u try my sugestion