Google is considering removing alert()
twitter.com
Google is considering removing alert()
1–10 of 41 posts
Re: Google is considering removing alert()
#2On the other hand, I'm seriously worried that Google is using its position to force large changes to the web.
Re: Google is considering removing alert()
#3Good. Alert is an archaic mechanism with tons of useful alternatives that don't involve blocking the DOM. For example, console log for debugging/demoing. On the other hand, I'm seriously worried that Google is using its position to force large changes to the web.
Re: Google is considering removing alert()
#4Good. Alert is an archaic mechanism with tons of useful alternatives that don't involve blocking the DOM. For example, console log for debugging/demoing. On the other hand, I'm seriously worried that Google is using its position to force large changes to the web.
it's not good, this change will break huge swathes of the web if it goes ahead as planned, lots of older websites just won't work any more and many newer ones will also be affected.
Re: Google is considering removing alert()
#5Earlier quoted context omitted.
it's not good, this change will break huge swathes of the web if it goes ahead as planned, lots of older websites just won't work any more and many newer ones will also be affected.
There is no place for an out of dom signalling mechanism like alert() on the modern web. I would hope to see a multi-year phase out of something this integral. I can't remember the last time I saw it used for something useful.
Re: Google is considering removing alert()
#6Re: Google is considering removing alert()
#7Re: Google is considering removing alert()
#8I believe this tweet has been twisted from the original tweet, which is that _cross origin_ alert (e.g. from an iframe) is the thing being removed. Using alert etc from the main frame will continue to work.
Re: Google is considering removing alert()
#9I still don't even fully understand the problem, because everyone just defaults to linking a bug tracker that's of lower quality than a Reddit discussion, and I can't trust HN comments to explain it because of all the outrage and assumption-by-framing. Ugh.
Re: Google is considering removing alert()
#10Good. Alert is an archaic mechanism with tons of useful alternatives that don't involve blocking the DOM. For example, console log for debugging/demoing. On the other hand, I'm seriously worried that Google is using its position to force large changes to the web.
Heck, if they did that it might come back into style. Pop-up notifications are a pain to implement from scratch