搜尋 Mozilla 技術支援網站

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

Learn More

Disable custom (small) scrollbar

  • 6 回覆
  • 1 有這個問題
  • 13 次檢視
  • 最近回覆由 MM6631764

more options

Latest Firefox version on Windows 10 Pro

Hi,

On the left side of the image you see Twitch.tv (example) and it has a very small vertical scroll bar. On the right side of the image you see this forum (example) and it has a normally sized vertical scroll bar.

I don't know if it's the site that is able to control the scroll bar or if it's the browser that automatically sizes things but is it possible to disable custom sized scroll bars so I always have a normal sized scroll bar?

Thanks.

Latest Firefox version on Windows 10 Pro Hi, On the left side of the image you see Twitch.tv (example) and it has a very small vertical scroll bar. On the right side of the image you see this forum (example) and it has a normally sized vertical scroll bar. I don't know if it's the site that is able to control the scroll bar or if it's the browser that automatically sizes things but is it possible to disable custom sized scroll bars so I always have a normal sized scroll bar? Thanks.
附加的畫面擷圖

所有回覆 (6)

more options

A scroll bar is present when the item being displayed is larger than the space provided by the webpage program.

Check your zoom controls.

<Control> (Mac=<Command>) + (plus) enlarge - (minus) reduce 0 (zero) restore

more options

Zoom in/out didn't really matter. And I'm not quite sure you understood my question. I don't mind the scroll bar, in fact I want it to be there. I just don't want it to be so small (left side attached image) but instead I always want it to be normal size (right side attached image)

由 MM6631764 於 修改

more options

You can set these two prefs to false on the about:config page to disable custom scroll bars.

  • layout.css.scrollbar-color.enabled = false
  • layout.css.scrollbar-width.enabled = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


https://developer.mozilla.org/en/Web/CSS/scrollbar-color https://developer.mozilla.org/en/Web/CSS/scrollbar-width

more options

Thanks for your reply. This setting looked like exactly what I needed but I've set both to false and restarted the browser but it doesn't seem to make a difference. At least not on Twitch.tv

more options

That website seem to be disabling the Firefox scroll bar and use a JavaScript library to create its own scroll bars that are shown on hover.

more options

Ah ok. I figure you would've posted a way to disable that if there was some but just to be sure: is there a way to disable that? :P