{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/iframe-sandbox",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "iframe-sandbox",
    "name": "Sandboxed iframes",
    "description": "The sandbox attribute for the <iframe> HTML element sets many security restrictions on the iframe, such as preventing form submissions or opening modal dialogs. Optional allow- values relax specific restrictions.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox",
    "baseline": "high",
    "baselineLowDate": "2015-07-29",
    "baselineLowDay": 16645,
    "baselineHighDate": "2018-01-29",
    "compatCount": 12,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.HTMLIFrameElement.sandbox",
      "html.elements.iframe.sandbox",
      "html.elements.iframe.sandbox.allow-downloads",
      "html.elements.iframe.sandbox.allow-forms",
      "html.elements.iframe.sandbox.allow-modals",
      "html.elements.iframe.sandbox.allow-popups",
      "html.elements.iframe.sandbox.allow-popups-to-escape-sandbox",
      "html.elements.iframe.sandbox.allow-same-origin",
      "html.elements.iframe.sandbox.allow-scripts",
      "html.elements.iframe.sandbox.allow-top-navigation",
      "html.elements.iframe.sandbox.allow-top-navigation-by-user-activation",
      "html.elements.iframe.sandbox.allow-top-navigation-to-custom-protocols"
    ],
    "s": {
      "chrome": {
        "v": "5",
        "d": 14754
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "17",
        "d": 15664
      },
      "firefox_android": {
        "v": "17",
        "d": 15664
      },
      "safari": {
        "v": "5",
        "d": 14767
      },
      "safari_ios": {
        "v": "4",
        "d": 14781
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.HTMLIFrameElement.sandbox",
      "cat": "api",
      "mdn": "API/HTMLIFrameElement/sandbox",
      "spec": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#dom-iframe-sandbox",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "5",
          "d": 14754
        },
        "firefox": {
          "v": "17",
          "d": 15664
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "17",
          "d": 15664
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "10",
          "d": 15639
        }
      },
      "notes": [
        {
          "t": "Before Chrome 50, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Previously, the type of <code>sandbox</code> was a <code>DOMString</code> instead of a <code>DOMSettableTokenList</code>. This has been fixed with Firefox 29. Other browsers may still implement the property as <code>DOMString</code> since it was a late change in the specification.",
          "b": [
            "firefox"
          ]
        },
        {
          "t": "Before Chrome Android 50, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "chrome_android"
          ]
        },
        {
          "t": "Previously, the type of <code>sandbox</code> was a <code>DOMString</code> instead of a <code>DOMSettableTokenList</code>. This has been fixed with Firefox for Android 29. Other browsers may still implement the property as <code>DOMString</code> since it was a late change in the specification.",
          "b": [
            "firefox_android"
          ]
        },
        {
          "t": "Before WebView Android 50, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "webview_android"
          ]
        },
        {
          "t": "Before Samsung Browser 5.0, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "samsunginternet_android"
          ]
        },
        {
          "t": "Before Opera 37, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "opera"
          ]
        },
        {
          "t": "Before Opera Android 37, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "opera_android"
          ]
        },
        {
          "t": "Before Quest Browser 5.0, this property returned the deprecated child <code>DOMSettableTokenList</code> instead of <code>DOMTokenList</code>.",
          "b": [
            "oculus"
          ]
        }
      ]
    },
    {
      "id": "html.elements.iframe.sandbox",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "5",
          "d": 14754
        },
        "firefox": {
          "v": "17",
          "d": 15664
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "17",
          "d": 15664
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "10",
          "d": 15639
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-downloads",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-downloads",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "83",
          "d": 18401
        },
        "firefox": {
          "v": "82",
          "d": 18555
        },
        "safari": {
          "v": "17",
          "d": 19618
        },
        "edge": {
          "v": "83",
          "d": 18403
        },
        "chrome_android": {
          "v": "83",
          "d": 18401
        },
        "firefox_android": {
          "v": "82",
          "d": 18555
        },
        "safari_ios": {
          "v": "17",
          "d": 19618
        },
        "webview_android": {
          "v": "83",
          "d": 18401
        },
        "webview_ios": {
          "v": "17",
          "d": 19618
        },
        "samsunginternet_android": {
          "v": "13.0",
          "d": 18598
        },
        "opera": {
          "v": "69",
          "d": 18437
        },
        "opera_android": {
          "v": "59",
          "d": 18443
        },
        "oculus": {
          "v": "10.0",
          "d": 18432
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-forms",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-forms",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "5",
          "d": 14754
        },
        "firefox": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-modals",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-modals",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "46",
          "d": 16721
        },
        "firefox": {
          "v": "49",
          "d": 17064
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "46",
          "d": 16722
        },
        "firefox_android": {
          "v": "49",
          "d": 17064
        },
        "safari_ios": {
          "v": "11.3",
          "d": 17619
        },
        "webview_android": {
          "v": "46",
          "d": 16722
        },
        "webview_ios": {
          "v": "11.3",
          "d": 17619
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "33",
          "d": 16735
        },
        "opera_android": {
          "v": "33",
          "d": 16742
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-popups",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-popups",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "17",
          "d": 15378
        },
        "firefox": {
          "v": "28",
          "d": 16147
        },
        "safari": {
          "v": "6",
          "d": 15546
        },
        "edge": {
          "v": "12",
          "d": 16645
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "27",
          "d": 16105
        },
        "safari_ios": {
          "v": "6",
          "d": 15593
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "6",
          "d": 15593
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "10",
          "d": 15639
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-popups-to-escape-sandbox",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-popups-to-escape-sandbox",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "46",
          "d": 16721
        },
        "firefox": {
          "v": "49",
          "d": 17064
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "46",
          "d": 16722
        },
        "firefox_android": {
          "v": "49",
          "d": 17064
        },
        "safari_ios": {
          "v": "11.3",
          "d": 17619
        },
        "webview_android": {
          "v": "46",
          "d": 16722
        },
        "webview_ios": {
          "v": "11.3",
          "d": 17619
        },
        "samsunginternet_android": {
          "v": "5.0",
          "d": 17150
        },
        "opera": {
          "v": "33",
          "d": 16735
        },
        "opera_android": {
          "v": "33",
          "d": 16742
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-same-origin",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-same-origin",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "5",
          "d": 14754
        },
        "firefox": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        },
        "ie": {
          "v": "11",
          "d": 15995,
          "le": 1
        }
      },
      "notes": [
        {
          "t": "Chrome 70 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "chrome"
          ]
        },
        {
          "t": "Safari blocks script execution without <code>allow-scripts</code> even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "safari",
            "safari_ios",
            "webview_ios"
          ]
        },
        {
          "t": "Edge 79 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "edge"
          ]
        },
        {
          "t": "Chrome Android 70 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "chrome_android"
          ]
        },
        {
          "t": "WebView Android 70 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "webview_android"
          ]
        },
        {
          "t": "Samsung Browser 10.0 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "samsunginternet_android"
          ]
        },
        {
          "t": "Opera 57 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "opera"
          ]
        },
        {
          "t": "Opera Android 49 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "opera_android"
          ]
        },
        {
          "t": "Quest Browser 6.0 and earlier block script execution without <code>allow-scripts</code>, even if <code>allow-same-origin</code> is set. For example, any bound handlers for click events of nodes inside an iframe throw an error for blocked script execution.",
          "b": [
            "oculus"
          ]
        }
      ]
    },
    {
      "id": "html.elements.iframe.sandbox.allow-scripts",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-scripts",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "5",
          "d": 14754
        },
        "firefox": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari_ios": {
          "v": "4",
          "d": 14781
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4",
          "d": 14781
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-top-navigation",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-top-navigation",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "6",
          "d": 14854
        },
        "firefox": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari": {
          "v": "5",
          "d": 14767
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "18",
          "d": 15518
        },
        "firefox_android": {
          "v": "49",
          "d": 17064,
          "le": 1
        },
        "safari_ios": {
          "v": "4.2",
          "d": 14935
        },
        "webview_android": {
          "v": "4.4",
          "d": 16048
        },
        "webview_ios": {
          "v": "4.2",
          "d": 14935
        },
        "samsunginternet_android": {
          "v": "1.0",
          "d": 15822
        },
        "opera": {
          "v": "15",
          "d": 15888
        },
        "opera_android": {
          "v": "14",
          "d": 15846
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-top-navigation-by-user-activation",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-top-navigation-by-user-activation",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "chrome": {
          "v": "58",
          "d": 17275
        },
        "firefox": {
          "v": "79",
          "d": 18471
        },
        "safari": {
          "v": "11.1",
          "d": 17633
        },
        "edge": {
          "v": "79",
          "d": 18276
        },
        "chrome_android": {
          "v": "58",
          "d": 17281
        },
        "firefox_android": {
          "v": "79",
          "d": 18471
        },
        "safari_ios": {
          "v": "11.3",
          "d": 17619
        },
        "webview_android": {
          "v": "58",
          "d": 17281
        },
        "webview_ios": {
          "v": "11.3",
          "d": 17619
        },
        "samsunginternet_android": {
          "v": "7.0",
          "d": 17606
        },
        "opera": {
          "v": "45",
          "d": 17296
        },
        "opera_android": {
          "v": "43",
          "d": 17436
        },
        "oculus": {
          "v": "5.0",
          "d": 17713
        }
      }
    },
    {
      "id": "html.elements.iframe.sandbox.allow-top-navigation-to-custom-protocols",
      "cat": "html",
      "spec": "https://html.spec.whatwg.org/multipage/browsers.html#attr-iframe-sandbox-allow-top-navigation-to-custom-protocols",
      "st": 1,
      "wf": "iframe-sandbox",
      "bl": "high",
      "bld": 16645,
      "s": {
        "firefox": {
          "v": "101",
          "d": 19143
        },
        "safari": {
          "v": "16",
          "d": 19247
        },
        "firefox_android": {
          "v": "101",
          "d": 19143
        },
        "safari_ios": {
          "v": "16",
          "d": 19247
        },
        "webview_ios": {
          "v": "16",
          "d": 19247
        }
      }
    }
  ]
}