Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Close browser by closing last tab

  • 5 件の返信
  • 8 人がこの問題に困っています
  • 16 回表示
  • 最後の返信者: 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