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 で、サポートコミュニティが皆さんを助けようと待機しています。

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.

詳しく学ぶ

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

How to close window only if closing last tab is about:newtab

  • 5 件の返信
  • 4 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: cor-el

more options

Is there a way to achieve this behaviour: Let's say I have a last tab left open, for example mozilla.org or any other site. When closing that tab I want firefox to open about:newtab. This can be achieved by setting closeWindowWithLastTab flag in config. But here is the catch when closing that about:newtab I want to close window.

So basically - Close window with last tab only if it is about:newtab. Also I want the close button on last tab to remain there.

P.S. Last tab close button extension did not help.

Is there a way to achieve this behaviour: Let's say I have a last tab left open, for example mozilla.org or any other site. When closing that tab I want firefox to open about:newtab. This can be achieved by setting closeWindowWithLastTab flag in config. But here is the catch when closing that about:newtab I want to close window. So basically - Close window with last tab only if it is about:newtab. Also I want the close button on last tab to remain there. P.S. Last tab close button extension did not help.

すべての返信 (5)

more options

Have you tried the following about:config tweak?

I dont think you can make that domain specific.

more options

As I mentioned in the post. I have, but as you already pointed out it's not domain specific. Which is exactly my problem. Maybe someone heard of an extension that does that or something?

more options

Oh oops, also see https://addons.mozilla.org/en-US/firefox/addon/last-tab-close-button/?src=ss not sure what youre looking for, but domain based, not there.

more options

Yep, tried that also. did not work. Ok, i think you made it pretty clear that no one made an extension to check domain before closing tab. So... there is no right answer... for now... i hope...

more options