Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

  • 5 antwurd
  • 4 hawwe dit probleem
  • 1 werjefte
  • Lêste antwurd fan 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.

Alle antwurden (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