为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How do I stop dropping of tabs opening new windows?

more options

When moving tabs from one window to other firefox keeps opening new windows when you miss.

I NEVER want to open a new window by dropping a tab on other window, so how do I disable that functionality?

When moving tabs from one window to other firefox keeps opening new windows when you miss. I NEVER want to open a new window by dropping a tab on other window, so how do I disable that functionality?

被采纳的解决方案

There is an add-on which re-attaches a detached tab for you --

https://addons.mozilla.org/firefox/addon/disable-tab-detach/

-- but that might not meet your needs because it sounds like you still want to be able to drag a tab from window A to window B. The problem arises when the tab doesn't attach successfully to window B. In that case, you don't want it to create a new window C, but what should happen instead?


Update: There's now a built-in preference for this in Firefox 74.

定位到答案原位置 👍 0

所有回复 (6)

more options

选择的解决方案

There is an add-on which re-attaches a detached tab for you --

https://addons.mozilla.org/firefox/addon/disable-tab-detach/

-- but that might not meet your needs because it sounds like you still want to be able to drag a tab from window A to window B. The problem arises when the tab doesn't attach successfully to window B. In that case, you don't want it to create a new window C, but what should happen instead?


Update: There's now a built-in preference for this in Firefox 74.

由jscher2000 - Support Volunteer于修改

more options

Correct. I do want to be able to move tabs between windows by drag and drop.

The problem occurs when I miss the small tab list on drop and hit anywhere else in the target window instead.

What would happen instead: Preferably: still move the tab as a tab to that target window. Preferably last or first. Second, still much better than current behavior, but not as good as above: Nothing happens and I have to drag the tab again(and maybe again until I hit the small tab row).

more options

Try the extension I mentioned and see what you think. It seems to do what you want.

Edit: I mean this part:

Luvirini said

Second, still much better than current behavior, but not as good as above: Nothing happens and I have to drag the tab again(and maybe again until I hit the small tab row).

由jscher2000 - Support Volunteer于修改

more options

Thank you.

The extension description did not seem to imply it, but it works as option 2(the less optimal one) though with the new window popping up and then closing with the tab moving back. So the end result is as with option 2 above.

more options

You could use code in userChrome.css to increase the height of the Tab bar to make it easier to drop the tab.

more options

By the way, Firefox 74 now has a built-in preference to turn off the "tear-off tabs" feature:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box above the list, type or paste detach and pause while the list is filtered

(3) Double-click the browser.tabs.allowTabDetach preference to switch the value from true to false

You can still move a tab to a new window when needed using the tab context menu: right-click the tab > Move Tab > Move to New Window