sandbox
blocks JavaScript windows
Browser Compatibility Check
Description
iframe
elements using the sandbox
attribute will not display windows produced by alert()
, confirm()
, prompt()
and print()
functions.
Help
Add allow-modals
to the sandbox
attribute if you need these windows to appear.
Applicable standards
Change history
- 5.36 Jan 2020 Now fires for Edge and Opera.
- 5.20 Jan 2016 Added.
This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.
Rule ID: BugHtmlIframeSandboxModals