Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It's not so bad on desktops, and I can restore it there anyway via CSS.

I wouldn't recommend trying to modify DOM elements via CSS or extensions if you can avoid it. You're going to run into some broken web experiences.

Regarding scrollbars, you can set your OS to always show them. As a web dev, I'm out here trying to advocate to never screw with scrollbars.



The restyling is local only restyling, for my own use, and within my local browser stylesheets (generally using Stylus), only.

I've explicitly made that point in the example Codepen showing that styling:

https://codepen.io/dredmorbius/full/QwXBEO

More generally, I've long held that Web design as practiced isn't the solution, it's the problem.

https://old.reddit.com/r/dredmorbius/comments/256lxu/tabbed_...

I've been toying with the notion of an FYWD browser, standing for "Fine Young Western Dinosaurs" or "Flip Your Web Design", where some of the letters in "flip" were originally different.


> I wouldn't recommend trying to modify DOM elements via CSS or extensions if you can avoid it. You're going to run into some broken web experiences.

If I'm resorting to extensions or CSS to modify DOM elements, it's likely the web experience is already broken from my point of view. It's not something I do just for the fun of it.


It's nothing to do with the web experience. Turn on your operating system's scrollbars.


OSX hiding scroll bars can be surprising for devs. You try your app on another OS and realize you’ve got several unintended scroll bars. I always turn them back on when working on OSX.


Yup, I learned this the hard way. We need to advocate for this within the companies we work for. Turn on scrollbars!


Having no scrollbar could be descrbied as a broken web experience in my opinion.

And I actually think that begin able to modify webpage to your liking is important, even if it means breaking the page in the process (I'm kind of used to it with umatrix)

I do agree that in an ideal world, every webpage would be an amazing web experience, but unfortunately that's not the case, even with big websites with amazing UX desginer


Can you share a webpage that actually hides scrollbars? Aside from having a crazy amount of padding and shoving a scrollbar behind some div, how can you actually hide scrollbars cross browser?


It's literally one line in CSS to hide scrollbars.

You can also design the page to endlessly ask for new content as one scrolls, but never display a scrollbar...


In the popular browsers, how do we kill this misfeature?


Stylus or userContent.css rules, generally.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: