Use of window.alert() is deprecated in a cross-origin context such as an iframe.
window.alert()
iframe