Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
已存档

How to avoid new tab/new window on mouse wheel middle button click?

sureshbuzz 已回复
sureshbuzz

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false.

After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window

Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on on mouse scroll click.

Thanks in Advance, Regards, Suresh

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false. After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on on mouse scroll click. Thanks in Advance, Regards, Suresh

所有回复 (1)

sureshbuzz said

When i am trying to click on scroll mouse middle button. It is opening new Tab. As per the existing solutions i modified browser.tabs.opentabfor.middleclick value to false. After changing browser.tabs.opentabfor.middleclick value to false. IT is opening as new window. Implemented the code to check the event.which and used event.preventdefault/stopPropagation still it is opening new tab/window Changed middlemouse.openNewWindow to false. Still no use.. Looking for the solution to avoid tabs on mouse scroll click. Thanks in Advance, Regards, Suresh