Re:Alternatives to Google Products
by icebraining on Monday June 11, 2018 @06:19AM
(#17283116)
JS is often used to change the position of elements based on the window size. If you give it wrong info, it will break the layout.
[ Parent
| on HN ]
True, but if you round it down to the closest multiple of (say) 32, you significantly reduce the information content while leaving JS/CSS layout essentially the same.
Indeed, it will surely make resize look less sexy (jumping by 32s instead of pixels), and you might waste a few pixels of screen real estate on some sites at some times -- but it's the kind of tradeoff that some people happily do for more privacy.
Related, does anyone know if privacy badger include "screen size determination" in its heuristics?
Re:Alternatives to Google Products
by oneeyedpigeon on Monday June 11, 2018 @09:25AM
(#17283951)
I can't imagine that's 'usual'; most sites will do absolute positioning in css, if at all. As you suggest, trying to layout pixel-by-pixel designs is notoriously awkward and best avoided.
Re:Alternatives to Google Products
by icebraining on Monday June 11, 2018 @10:06AM
(#17284286)
I'm not talking about absolute positioning, but calculating positions and width/length based on rules (like the browser does with CSS, but for stuff the browser can't do). For example: https://css-tricks.com/scaled-proportional-blocks-with-css-a...
Re:Alternatives to Google Products
by oneeyedpigeon on Tuesday June 12, 2018 @09:08AM
(#17292828)
Sure, I just don't think that kind of thing is 'usual'.
Re:Alternatives to Google Products
by michaelmior on Monday June 11, 2018 @09:34AM
(#17284015)
You could still do fingerprinting for resolution based on media queries in CSS.