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!

搜索 | 用户支持

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

详细了解

Modify tab parent to child to grandchild closing order

  • 2 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 jondoe1

more options

I like to know is there a mod to fix the tab closing behavior. I'll try to describe as best I can.

1. Lets start with 2 opened tabs [tab.parent.a] and [tab.parent.b]

2. Opening a link from [tab.parent.a] creates a child [tab.child.a]

3. Opening a link from [tab.child.a] creates a child [tab.grandchild.a]. So the current tabs are:

 [tab.parent.a] [tab.child.a] [tab.grandchild.a] [tab.b] in this order.

4. If I close [tab.grandchild.a] it returns me to its parent tab which is [tab.child.a] , the correct behavior.

5. However, now when I close [tab.child.a] it returns me to [tab.parent.b] not its parent [tab.parent.a]

Is there a way to modify the closing behavior so that closing each sub-child tab will return it to its originating parent?

Maybe and add-on already provide this behavior but I haven't located yet. Any help would be appreciated. Thanks in advanced.

I like to know is there a mod to fix the tab closing behavior. I'll try to describe as best I can. 1. Lets start with 2 opened tabs [tab.parent.a] and [tab.parent.b] 2. Opening a link from [tab.parent.a] creates a child [tab.child.a] 3. Opening a link from [tab.child.a] creates a child [tab.grandchild.a]. So the current tabs are: [tab.parent.a] [tab.child.a] [tab.grandchild.a] [tab.b] in this order. 4. If I close [tab.grandchild.a] it returns me to its parent tab which is [tab.child.a] , the correct behavior. 5. However, now when I close [tab.child.a] it returns me to [tab.parent.b] not its parent [tab.parent.a] Is there a way to modify the closing behavior so that closing each sub-child tab will return it to its originating parent? Maybe and add-on already provide this behavior but I haven't located yet. Any help would be appreciated. Thanks in advanced.

由jondoe1于修改

所有回复 (2)

more options

I think what you are looking for is browser.tabs.selectOwnerOnClose = true.

Type about:config<enter> in the address bar. If a warning screen comes up, press the Be Careful button. At the top of the screen is a search bar.

Double click to change the option.

more options

Already tried browser.tabs.selectOwnerOnClose = true it only work at point #4 level not at the point #5 level as stated in my original question.