Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

keep browser open after closing last tab

  • 5 odpovědí
  • 0 má tento problém
  • Poslední odpověď od dee_veloper

more options

I want to keep browser open after closing last tab. I changed the boolean parameter "browser. tabs. closeWindowWithLastTab" to "false" but the browser still closes with closing of last tab.

What else is required ?

I want to keep browser open after closing last tab. I changed the boolean parameter "browser. tabs. closeWindowWithLastTab" to "false" but the browser still closes with closing of last tab. What else is required ?

Všechny odpovědi (5)

more options

Hi

With no tabs open, there is browser - you need at least one tab open.

Pomohla vám tato odpověď?

more options

"With no tabs open, there is browser - you need at least one tab open."

There is a way to make it stay open when the last tab is closed. In effect what it does is replace the closed tab with an empty or new tab so the browser does not close. I've seen it operate that way.

I just need to know what the changes should be to make that happen

Pomohla vám tato odpověď?

more options

UPDATE:

I found the problem....and the solution....

In the about:config file, while searching for the boolean parameter "browser. tabs. closeWindowWithLastTab" , I typed in the word "window" to find it.

When the list came up, I saw that the parameter is found two times in the list. Only one was set to "false". When I set the second one to "false" the desired browser behavior was achieved.

Pomohla vám tato odpověď?

more options

Firefox should create a new blank tab when you close the last tab if you set browser.tabs.closeWindowWithLastTab to false. Firefox will close the window without asking if you use the close X to close the window and not the close X to close the tab.

EDIT: I see that you accidentally created a new pref with possibly spaces in its name. Note that pref names are case sensitive and shouldn't have spaces. You can click the trashcan on the line with the wrong name to remove this pref.

Pomohla vám tato odpověď?

more options

Good eye. I see that there are in fact spaces included in one of them. I had cut and pasted it in from an article. I didn't know that I could create a new preference. Good to know.

I deleted the incorrect one and it still works as I want it to.

Pomohla vám tato odpověď?

Položit dotaz

Pro přidání odpovědi se musíte přihlásit ke svému účtu. Pokud dosud nemáte účet, položte nový dotaz.