Apps script web app works in
<iframe>. It seems Chrome is no longer supporting
confirm(), Promote these functions on the web app.
Any workaround to this?
window.alert(), but still does not work.
So far, the only 'solution' for this is to add the following to your Chrome/Edge browser shortcut:
Or downgrade your browser. Obviously neither of these are ideal. Google trying really hard to save us from ourselves here.
Consider filing a feature request using this Issue Tracker template.
I'd either request that an exception is made for Apps Script web apps, or that built-in methods for alert and confirm are added, similar to the existing alert and prompt dialogs, which currently work on Google editors.
By the way, this behavior has been reported in Issue Tracker (as a bug):
I'd consider starring it in order to keep track of it.
In the meanwhile, as others said, consider downgrading or changing the browser, or executing it with the following command line flag: