Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

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

详细了解

话题已关闭并存档。 如果需要帮助请提出新问题。

Disable middle click tab bar

  • 12 个回答
  • 1 人有此问题
  • 247 次查看
  • 最后回复者为 Red

更多选项

Why is this a feature without the option to disable when none of the other browsers has this feature?

It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

Why is this a feature without the option to disable when none of the other browsers has this feature? It's really annoying trying to close a tab only to open a new one again because you middle clicked on the empty portion of the tab bar.

被采纳的解决方案

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

定位到答案原位置 👍 1

所有回复 (12)

更多选项

Screenshot of the problems your referring to?

更多选项

Here's a GIF to show what I'm talking about.

更多选项

That is how about middle-clicking on the Tab bar works. I'm not aware of a way to disable it or if there is an extension that adds this feature. You could keep that many tabs open that the entire Tab bar is filled with tabs.

更多选项

The issue is that there should at least be an option to disable this feature seeing as other browsers such as Chrome, and Edge does not have this.

There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

更多选项

ZetiX said

... There was a CSS tweak to disable this, but the recent update caused the tweak to stop working.

If you would post that CSS tweak here we may learn something.

更多选项
  1. tabbrowser-tabs .scrollbox-innerbox{pointer-events: none}

.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

Here's the PasteBin link , the forum formats the text.

由ZetiX于修改

更多选项

选择的解决方案

Try:

#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

由cor-el于修改

更多选项

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

This worked! Thanks so much!

更多选项

You're welcome

更多选项

cor-el said

Try:
#tabbrowser-tabs .arrowscrollbox-scrollbox{pointer-events: none}
.tabbrowser-tab,.tabs-newtab-button{pointer-events: auto}

How do I try this? I went into \AppData\Roaming\Mozilla\Firefox\Profiles\

Then I made a folder named 'chrome' and put a userChrome.css in it, with only those two lines in it but I still get a new tab if I MM click the tab bar's empty space.

更多选项

You have to create the chrome folder inside the xxxxx.default folder, then create the userChrome.css with those 2 lines.

更多选项

Yep, that did it. Thanks kindly, ZetiX.