为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Disable custom (small) scrollbar

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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