Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
RussianCow
· 7y ago · 0 comments
Why? Is there even a way to test whether this is enabled?
Comments
[–]
QasimK
7y ago
Yes, scroll bars are already used to identify which operating system you are using as their width varies between systems.
[–]
baroffoos
7y ago
Your user agent already does this.
[–]
AnaniasAnanas
7y ago
Which is why many privacy-minded people change their user agent to match the most popular one, especially the OS part.
[–]
function_seven
7y ago
I imagine you could set up a scrollable div on a page, with elements within and query the position of those elements or their width. Having a custom scroll bar would flow the contained elements in different ways depending on how wide it is.