Google Chrome disables alert() for cross-domain iframes

Security News

Coming July 20 onwards Google chromes latest verion 92, Google support for dialogs like alert() confirm() etc will be removed for cross domain iframes. To prove you can execute arbitrary JavaScript? Popping an alert was the easiest way for hackers.

To Tackle this issue the window.print() function can be used to render a new dialog.

Leave a Reply

Your email address will not be published. Required fields are marked *