sandbox
in iframe JS-D010That’s all we can say right now.
The sandbox attribute enables an extra set of restrictions for the content in the iframe.
When the sandbox attribute is present, it will:
<embed>
, <object>
, <applet>
etc)The value of the sandbox attribute can either be just sandbox (allow-all), after which restrictions are applied explicitly, or deny-all, listing a space-separated list of pre-defined values that will remove the restrictions explicitly.
<iframe></iframe>
<iframe/>
<iframe sandbox="__unknown__"></iframe>
<iframe sandbox="allow-popups allow-popups-to-escape-sandbox allow-pointer-lock allow-same-origin allow-top-navigation"></iframe>
<div sandbox="__unknown__" />;
<iframe sandbox="" />;