How we built it

Block modal dialogs inside a sandboxed iframe.

Folks in Google's anti-malvertising team would like to be able to prevent sandboxed frames from popping up confusing, modal messages to users. This includes things like `alert()`, `confirm()`, and `prompt()` (and `print()` (and maybe authentication dialogs)).

Demo

Documentation

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 46
  • Chrome for Android release 46
  • Android WebView release 46
  • Opera release 34
  • Opera for Android release 34

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owner

Last updated on 2015-07-31