搜尋 Mozilla 技術支援網站

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

了解更多

Scroll bar too wide.

  • 1 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

Hello,

I'd like to make the scroll bar thinner and don't know how, all the advice I have found online either doesn't work or isn't clear enough for me to follow.

The scroll bar is ok on a new tab but becomes wider on websites and sometimes creates a horizontal scroll bar.

Thanks.

Hello, I'd like to make the scroll bar thinner and don't know how, all the advice I have found online either doesn't work or isn't clear enough for me to follow. The scroll bar is ok on a new tab but becomes wider on websites and sometimes creates a horizontal scroll bar. Thanks.

所有回覆 (1)

more options

Hi tommagu

Websites can create their own scroll bars and override the scroll bar width and color via CSS rules.

Firefox 64-78 had prefs to prevent a website from overriding your default scrollbars, but this is no longer possible in Firefox 79 and newer.
You would have to use code in userContent.css to set scrollbar color and width.

See this thread: