搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

keep browser open after closing last tab

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 ?

所有回复 (5)

more options

Hi

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

有帮助吗?

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

有帮助吗?

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.

有帮助吗?

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.

有帮助吗?

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.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题