Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Simple JavaScript Exploit That Nukes Google’s Password Alert | Better HN
Simple JavaScript Exploit That Nukes Google’s Password Alert
(arstechnica.com)
16 points · by
nabaraz
· 11y ago · 3 comments
Comments
[–]
nodesocket
11y ago
Couldn't Google just create a random element id? Instead of `warning_banner` do something like `warning_banner_x3vh2QiPm1`
[–]
tshadwell
11y ago
Anything that adds to the DOM or uses the rebindable Javascript APIs is going to be detectable, anything more on Google's part is just security through obfuscation.
[–]
tyho
11y ago
The banner shouldn't be in the DOM to begin with, anything in the DOM can be removed by client side Javascript.