It can only happen if you allow untrusted CSS on your website, which would then allow a third-party to get the password. You can do the same with JS as well. The way you avoid this shit is by avoiding people you don't know putting code that you haven't checked on your website.
Well, even if reddit would allow to do otherwise, it would not be a problem, because reddit accounts doesnt matter. If banks or other important places would do that, then it would be really bad for us, and those places would get fucked too, at least by me.
So, unless you can hack into other servers and put your malicious code on their websites, this is only a neat trick, because many places already know your password on their website, because it is stored as plain text.
12
u/meneldal2 Feb 21 '18
It can only happen if you allow untrusted CSS on your website, which would then allow a third-party to get the password. You can do the same with JS as well. The way you avoid this shit is by avoiding people you don't know putting code that you haven't checked on your website.