News for hackers. Stuff that matters.
Re:Microfeatures I Love in Blogs and Personal Websites by scott_w on Monday June 24, 2024 @05:11PM (#40780837)
To be fair, the designer of the website can’t restore scrollbars…
Re:Microfeatures I Love in Blogs and Personal Websites by p_l on Monday June 24, 2024 @06:05PM (#40781468)
... not exactly.

It's possible to essentially reimplement the logic of how scrollbars look, where they are, and when they appear, in just CSS on modern browsers.

Ended up having to do part of that once because it was easier at the time than to figure out just why a mismatched browser scrollbar would show up due to complex layouting issue (in embedded world, so we didn't actually have to worry about end user preference there, otherwise I wouldn't dare use such a hack)

Re:Microfeatures I Love in Blogs and Personal Websites by scott_w on Tuesday June 25, 2024 @02:10AM (#40785036)
Yes, that’s true but I suspect that what you’re doing is also what people are complaining about ;-)
Re:Microfeatures I Love in Blogs and Personal Websites by p_l on Tuesday June 25, 2024 @03:45AM (#40785632)
There's a reason why I included "I wouldn't dare" if it was a normal website :D

Especially since in our case I essentially deleted the scrollbar.

Re:Microfeatures I Love in Blogs and Personal Websites by dredmorbius on Tuesday June 25, 2024 @05:18AM (#40786246)
As much as I hate what browser devs have done to scrollbars, I tend to agree with you. The one thing worse that fucked defaults is everyone throwing their own fucked personal preferences at you. Which is why sane defaults matter so damned much.

There are browser configuration tweaks which can be done in at least some cases. On Firefox Mobile / Fennec, for example, there's a configuration hack which can be done.

I'm having trouble tracking that down but I think this might be it:

In about:config:

  ### scrollbar width
  widget.non-native-theme.scrollbar.size.override 30

  ### scrollbar shape
  widget.non-native-theme.scrollbar.style 4

From: <https://old.reddit.com/r/firefox/comments/ujo1xy/how_to_incr...>
Re:Microfeatures I Love in Blogs and Personal Websites by dredmorbius on Tuesday June 25, 2024 @02:44AM (#40785238)
I'm speaking to Web browser developers.

I'm #notafan of customising site scrollbars. But I've written my own CSS to do that (used only on my own, non-public, Web pages), and man is it a breath of fucking fresh air.

There are other apps which are similarly fucked in this regard. Mozilla's Pocket comes to mind.