This is such a terrible UI/UX. Whatever it autodetected was off by about 0.5cm, just enough that it is a bad ruler, but not so much that it is obvious. Trying to figure out how to adjust it made me want to pull my hair out. First I grabbed the bars on the static image under the "compare ruler with credit card" section. Then I annoyed everyone around me as I clicked the top ruler to try to resize it and it blared "Here is 3.5 inches" in full volume.
I conjecture that this idea of an accurate ruler on a web page is impossible with the current state of web and device pixel ratios that can't be detected from javascript for all devices.
It's amazing how the web with all the progressive apps access to your location, microphone, etc , still can't get access to the pixels dimensions of your screen.
As long as we have to worry about finger printing lots of things are unreliable or impossible on the web unfortunately. Even more so with different browsers taking different positions on these things. In the end I wonder if this is actually protecting users or if they can still be tracked regardless and it's just inhibiting native app feature parity.
16 comments
[ 0.24 ms ] story [ 42.6 ms ] threadBut I can find it on Google
First submission or comment from this new HN account and it hits the front page in minutes.
https://youtu.be/9yUZTTLpDtk?si=8JKoCRuX-LTh1mTu&t=115
Uh huh. https://www.google.com/search?q=%22Handy+%26+Accurate+Online...
* https://themetricmaven.com/naughtins-laws/
* https://news.ycombinator.com/item?id=41496142
I conjecture that this idea of an accurate ruler on a web page is impossible with the current state of web and device pixel ratios that can't be detected from javascript for all devices.
Prove me wrong. I'd love to see it.