77
12
I am using Firefox 59.0.2 (64-bit) on Ubuntu 16.04 (Xenial Xerus).
When there is only one tab opened in Firefox, closing the tab will also close the web browser. This is contrary to that in Chrome browser, closing the only tab doesn't close the Chrome browser.
Is it possible to leave Firefox open when closing its only tab?
16I'm pretty sure closing the last tab will close Chromium, but there is a setting for "Continue running background apps when Chromium is closed" (whatever that's useful for). Isn't just leaving one blank / new tab good enough? (If it's all the distracting stuff that's in a new tab, it can be set to be empty/blank) – Xen2050 – 2018-04-01T16:58:10.833
4You can pin a blank tab in Firefox. Pinned tab does not close with Ctrl+W. – Biswapriyo – 2018-04-01T18:05:55.500
3@Xen2050: Chromium Apps don't necessarily need to have a GUI, or at least, they don't necessarily need to live in a browser tab. The Google Hangouts app for Chromium, for example, usually lives in a small window outside of the browser GUI. If you use the Hangouts app for, say, video chatting, it would be annoying if your chat were aborted just because you closed the last browser tab, maybe even on a different screen or virtual workspace! – Jörg W Mittag – 2018-04-01T20:08:38.337
3
there are a lot of questions about this on Mozilla support forum: How to stop firefox quiting last tab(when only one tab is open) without warning??, Where is the option for keeping Firefox open when I close the last tab?
– phuclv – 2018-04-02T01:19:10.143"There are a lot of questions about this on Mozilla support forum..." Honestly, that is rather surprising. I have been utilizing the same
about:config
setup described in Pippik's answer for several years. That capability has been around for quite some time. – Run5k – 2018-04-02T16:34:31.5631It is possible, only on macOS. – Michael Hampton – 2018-04-02T21:48:35.800
2Despite the fact I have no idea why you dont want to close it, If you will open download box- by default probably CTRL + J, then you can close all tabs, but firefox fill be still "running" :D – xxxvodnikxxx – 2018-04-03T14:11:43.340
In Opera, this is the default functionality. Closing the last tab opens up a new tab. – Yaakov Ainspan – 2018-04-03T19:22:49.317
Easy with both chrome and firefox: Be in any situation where the described behaviour is completely undesirable - you can rely on it happening :) – rackandboneman – 2018-04-04T11:11:20.390
1(To explain: Both browsers can behave like that if there is any window that bugged itself into being offscreen, 0x0px, or similar...) – rackandboneman – 2018-04-04T11:13:46.687
@Xen2050 It's useful if you're downloading something but want to close chrome to free up a little bit of resources. – LateralTerminal – 2018-04-04T16:06:42.323
1@xxxvodnikxxx in that case Ctrl+Shift+B and Ctrl+Shift+H also work – phuclv – 2018-04-07T16:38:43.010