Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

when i close the tab it doesn't return the last active tab

  • 8 件の返信
  • 6 人がこの問題に困っています
  • 29 回表示
  • 最後の返信者: cor-el

more options

My english is not so good, so i'm sorry about this. I want to return last active tab when i close a tab. Example; I'm using 2. tab then i switch 4. tab, and close it. Firefox switches me to 5. tab, not 2. I made some google search but i can't find anything useful.

My english is not so good, so i'm sorry about this. I want to return last active tab when i close a tab. Example; I'm using 2. tab then i switch 4. tab, and close it. Firefox switches me to 5. tab, not 2. I made some google search but i can't find anything useful.

選ばれた解決策

Ok i tried the "tab mix plus", it has "return last selected tab" option when closing tab, it works but also it broke something. When i open a link in a new tab from currently using tab, it opens at rightmost in tab stack. I checked if "browser.tabs.selectOwnerOnClose" is changed, from about:config, but it's not changed, its value is true (default). The addon made this ineffective, i think. So i am trying find another addon. (open to suggestions)

この回答をすべて読む 👍 0

すべての返信 (8)

more options

There is a browser.tabs.selectOwnerOnClose pref to define the behavior when you close a tab, but this only works for links opened in a new tab by clicking the link in this specific tab.

You can open the about:config page via the location bar.

more options

browser.tabs.selectOwnerOnClose is true on default, and i think it should be, but as you said "this only works for links opened in a new tab by clicking the link in this specific tab". Is there a general option for this, i used to use opera 12.16 and it returned last active tab when i close a tab. I want something like this. It could be an addon, but i cannot find.

more options
more options

There are a lot of extensions that add special tab features including the behavior after closing tabs, so you have do a search on the Add-ons website.

more options

Thank you cor-el, that is really helpful.

この投稿は farnsworth により に変更されました

more options

選ばれた解決策

Ok i tried the "tab mix plus", it has "return last selected tab" option when closing tab, it works but also it broke something. When i open a link in a new tab from currently using tab, it opens at rightmost in tab stack. I checked if "browser.tabs.selectOwnerOnClose" is changed, from about:config, but it's not changed, its value is true (default). The addon made this ineffective, i think. So i am trying find another addon. (open to suggestions)

more options

Ok there is also an option for this in "tab mix plus", solved it. Sorry about unnecessary posting.

more options

Tab Mix Plus is most likely using its own prefs to control the various features that it supports, so you probably have to check extensions.tabmixplus prefs.
I'm not using the extension, so you need to check this out yourself.