News for hackers. Stuff that matters.
Re:Show HN: 300k lines of Java UI code running native in bro... by mastazi on Friday April 05, 2019 @10:42AM (#19582995)
Media queries are instructions that the client can use, unlike other methods like user-agent there is no info being sent over to the site. Of course a malicious page could implement js code to try and understand what bersion of the page the client is actually rendering, but it would be quite easy for the client to circumvent that.
Re:Show HN: 300k lines of Java UI code running native in bro... by ago on Friday April 05, 2019 @11:59AM (#19583803)
Media queries can leak info to the server easily without JavaScript: https://matt.traudt.xyz/p/YF4ciVY6.html
Re:Show HN: 300k lines of Java UI code running native in bro... by mastazi on Friday April 05, 2019 @07:19PM (#19587964)
For a client that did not want to send info, this would be even easier to prevent than the JS scenario discussed above...
Re:Show HN: 300k lines of Java UI code running native in bro... by anoncake on Saturday April 06, 2019 @08:53AM (#19590472)
Especially for a screen reader: It can fetch all images intended for seeing people anyway while ignoring images intended for screen readers.