We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable custom (small) scrollbar

  • 6 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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.
Attached screenshots

All Replies (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)

Modified by 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