搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is it possible to disable scrolling of tabs with mouse wheel?

  • 5 回覆
  • 1 有這個問題
  • 71 次檢視
  • 最近回覆由 Dmitry Zorin

more options

Often I close tabs using middle mouse button which is also the wheel. When I point cursor on the tabs, wheel accidently rotates and I close wrong page tab.

Often I close tabs using middle mouse button which is also the wheel. When I point cursor on the tabs, wheel accidently rotates and I close wrong page tab.

被選擇的解決方法

I solved my problem by setting "browser.tabs.closeButtons" option parameter to "2" in "about:config" page. Now all tab close buttons is turned off (do not appear).

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

You can use one close X at the far right end of the Tab bar and use that button if the tabs get small and you have difficulties to close a tab.

more options

Sorry, but I don't have difficulties to close a tab. I have difficulties to close the correct tab.

more options

You can't disable the tab scrolling with the mouse wheel AFAIK, so you need to use other means to close the tab.
You can close the current tab with the close X on the tab or one close X at the end of the tab bar or use the keyboard with Ctrl+W.
Not selected tabs can only be closed via the right-click context menu as an alternative.

Otherwise you can try to set the minimum width of a tab to a larger value to have more room with the scrolling.

more options

Thanks for reply. I tried this addon, but setting "minimum width" of tabs is useless. Wheel scrolling works by formula: TabWidth * 3 (multiplied by 3). So the larger the tab width, the more scrolling I get.

more options

選擇的解決方法

I solved my problem by setting "browser.tabs.closeButtons" option parameter to "2" in "about:config" page. Now all tab close buttons is turned off (do not appear).