Lurker News

Comments (168) 24 threads

Earlier comments
moeadham2 replies#
I hate the internet.
slantaclaus#
You should try the cloud it works way better
B1FF_PSUVM#
The internet was OK, it's the web that broke bad.

(Truth to tell, advertisers had their fangs on even the barest 'social media' thing like Usenet, where "spam" not in a tin can was first defined.)

fareesh#
Reminds me of meltdown. Pretty neat.
jandrese3 replies#
CSS has gone too far. At least when I'm worried about a nasty javascript attack from a site I can be somewhat reassured that noscript/umatrix will work. Am I going to have to start whitelisting CSS now too? Am I too late?
Raphmedia1 reply#
You are. CSS has gone "too far" the second it allowed linking to images.

I can simply background-image:url("myTrackingPixel.png") and then track whenever someone tries to load that image from my server.

jandrese1 reply#
It drives me crazy when I see someone has implemented Doom in CSS, but it still requires black magic to do a simple responsive three column layout without using bleeding edge features that aren't widely supported yet.

Continue this thread — 5 replies

vlunkr1 reply#
As other comments have stated, this only works if the 'value' attr is being set on the input box as you type (which React will do), so it still requires JS.
rocqua#
There are a lot of sites where you wouldn't need to inject the JS code for react though.
Manishearth1 reply#
This isn't a CSS feature, CSS does not let you select on the value of a password field (it lets you select on the value of the `value` attribute, which doesn't change when you type)

This is a React feature, where React apps specifically use the value attribute (`element.setAttribute("value", ...)`) to set the value, instead of `element.value`.

ry_ry#
Or if that attribute was populated via props from it's parent, which is a more common implementation.
commandlinefan3 replies#
ALWAYS browse with devtools open, and pay close attention to every packet that's being sent out (especially when you're not expecting any to...)
booleandilemma#
I can’t tell my parents to do that though.
saagarjha1 reply#
This isn't practical at all. Many websites perform hundreds of requests.
commandlinefan#
Not while I'm sitting around not doing anything, at least not normally. Gmail refreshes itself every few seconds, but I'd be awfully suspicious if I started seeing a single packet being transmitted each time I typed a character into a password box.
quickthrower2#
That's not enough if you are using an online crypto wallet. You also need to check if the seeding is deterministic. And also it could send the data 'later' when you next visit the site rather than now, storing it in indexeddb/localstorage/ etc. So you have a false sense of security.

Also as in this example loading a .jpg could be a way of communicating something.

All comments shown.