{
    "dom-element-sethtml": [
        {
            "engines": [
                "blink",
                "gecko"
            ],
            "needsflag": [
                "gecko"
            ],
            "filename": "api/Element.json",
            "name": "setHTML",
            "slug": "API/Element/setHTML",
            "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML",
            "summary": "The setHTML() method of the Element interface is used to parse and sanitize a string of HTML and then insert it into the DOM as a subtree of the element. It should be used instead of Element.innerHTML for inserting untrusted strings of HTML into an element.",
            "support": {
                "chrome": {
                    "version_added": "105"
                },
                "chrome_android": "mirror",
                "edge": "mirror",
                "firefox": {
                    "version_added": "94",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "dom.security.sanitizer.enabled",
                            "value_to_set": "true"
                        }
                    ]
                },
                "firefox_android": "mirror",
                "ie": {
                    "version_added": false
                },
                "oculus": "mirror",
                "opera": "mirror",
                "opera_android": "mirror",
                "safari": {
                    "version_added": false
                },
                "safari_ios": "mirror",
                "samsunginternet_android": "mirror",
                "webview_android": "mirror",
                "edge_blink": {
                    "version_added": "105"
                }
            },
            "title": "Element.setHTML()"
        }
    ],
    "dom-sanitizer-sanitizer": [
        {
            "engines": [
                "blink",
                "gecko"
            ],
            "needsflag": [
                "gecko"
            ],
            "filename": "api/Sanitizer.json",
            "name": "Sanitizer",
            "slug": "API/Sanitizer/Sanitizer",
            "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/Sanitizer",
            "summary": "The Sanitizer() constructor creates a new Sanitizer object, which can be used to sanitize untrusted strings of HTML, or untrusted Document or DocumentFragment objects, making them safe for insertion into a document's DOM.",
            "support": {
                "chrome": [
                    {
                        "version_added": "105"
                    },
                    {
                        "version_added": "93",
                        "version_removed": "105",
                        "flags": [
                            {
                                "type": "preference",
                                "name": "enable-experimental-web-platform-features",
                                "value_to_set": "enabled"
                            }
                        ]
                    }
                ],
                "chrome_android": "mirror",
                "edge": "mirror",
                "firefox": {
                    "version_added": "83",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "dom.security.sanitizer.enabled",
                            "value_to_set": "true"
                        }
                    ]
                },
                "firefox_android": "mirror",
                "ie": {
                    "version_added": false
                },
                "oculus": "mirror",
                "opera": {
                    "version_added": "79",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        }
                    ]
                },
                "opera_android": "mirror",
                "safari": {
                    "version_added": false
                },
                "safari_ios": "mirror",
                "samsunginternet_android": "mirror",
                "webview_android": "mirror",
                "edge_blink": [
                    {
                        "version_added": "105"
                    },
                    {
                        "version_added": false,
                        "version_removed": "105",
                        "flags": [
                            {
                                "type": "preference",
                                "name": "enable-experimental-web-platform-features",
                                "value_to_set": "enabled"
                            }
                        ]
                    }
                ]
            },
            "title": "Sanitizer()"
        }
    ],
    "dom-sanitizer-sanitize": [
        {
            "engines": [
                "blink",
                "gecko"
            ],
            "needsflag": [
                "blink",
                "gecko"
            ],
            "filename": "api/Sanitizer.json",
            "name": "sanitize",
            "slug": "API/Sanitizer/sanitize",
            "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/sanitize",
            "summary": "The sanitize() method of the Sanitizer interface is used to sanitize a tree of DOM nodes, removing any unwanted elements or attributes.",
            "support": {
                "chrome": {
                    "version_added": "93",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        },
                        {
                            "type": "preference",
                            "name": "sanitizer-api",
                            "value_to_set": "enabled"
                        }
                    ]
                },
                "chrome_android": "mirror",
                "edge": "mirror",
                "firefox": {
                    "version_added": "83",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "dom.security.sanitizer.enabled",
                            "value_to_set": "true"
                        }
                    ]
                },
                "firefox_android": "mirror",
                "ie": {
                    "version_added": false
                },
                "oculus": "mirror",
                "opera": {
                    "version_added": "79",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        }
                    ]
                },
                "opera_android": "mirror",
                "safari": {
                    "version_added": false
                },
                "safari_ios": "mirror",
                "samsunginternet_android": "mirror",
                "webview_android": "mirror",
                "edge_blink": {
                    "version_added": "93",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        },
                        {
                            "type": "preference",
                            "name": "sanitizer-api",
                            "value_to_set": "enabled"
                        }
                    ]
                }
            },
            "title": "Sanitizer.sanitize()"
        }
    ],
    "dom-sanitizer-sanitizefor": [
        {
            "engines": [
                "blink"
            ],
            "needsflag": [
                "blink"
            ],
            "filename": "api/Sanitizer.json",
            "name": "sanitizeFor",
            "slug": "API/Sanitizer/sanitizeFor",
            "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer/sanitizeFor",
            "summary": "The sanitizeFor() method of the Sanitizer interface is used to parse and sanitize a string of HTML for insertion into the DOM at some later point.",
            "support": {
                "chrome": {
                    "version_added": "93",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        }
                    ]
                },
                "chrome_android": "mirror",
                "edge": "mirror",
                "firefox": {
                    "version_added": false
                },
                "firefox_android": "mirror",
                "ie": {
                    "version_added": false
                },
                "oculus": "mirror",
                "opera": "mirror",
                "opera_android": "mirror",
                "safari": {
                    "version_added": false
                },
                "safari_ios": "mirror",
                "samsunginternet_android": "mirror",
                "webview_android": "mirror",
                "edge_blink": {
                    "version_added": "93",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        }
                    ]
                }
            },
            "title": "Sanitizer.sanitizeFor()"
        }
    ],
    "sanitizer-api": [
        {
            "engines": [
                "blink",
                "gecko"
            ],
            "needsflag": [
                "gecko"
            ],
            "filename": "api/Sanitizer.json",
            "name": "Sanitizer",
            "slug": "API/Sanitizer",
            "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer",
            "summary": "The Sanitizer interface of the HTML Sanitizer API provides methods to sanitize untrusted strings of HTML, Document and DocumentFragment objects. After sanitization, unwanted elements or attributes are removed, and the returned objects can safely be inserted into a document's DOM.",
            "support": {
                "chrome": [
                    {
                        "version_added": "105"
                    },
                    {
                        "version_added": "93",
                        "version_removed": "105",
                        "flags": [
                            {
                                "type": "preference",
                                "name": "enable-experimental-web-platform-features",
                                "value_to_set": "enabled"
                            }
                        ]
                    }
                ],
                "chrome_android": "mirror",
                "edge": "mirror",
                "firefox": {
                    "version_added": "83",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "dom.security.sanitizer.enabled",
                            "value_to_set": "true"
                        }
                    ]
                },
                "firefox_android": "mirror",
                "ie": {
                    "version_added": false
                },
                "oculus": "mirror",
                "opera": {
                    "version_added": "79",
                    "flags": [
                        {
                            "type": "preference",
                            "name": "enable-experimental-web-platform-features",
                            "value_to_set": "enabled"
                        }
                    ]
                },
                "opera_android": "mirror",
                "safari": {
                    "version_added": false
                },
                "safari_ios": "mirror",
                "samsunginternet_android": "mirror",
                "webview_android": "mirror",
                "edge_blink": [
                    {
                        "version_added": "105"
                    },
                    {
                        "version_added": false,
                        "version_removed": "105",
                        "flags": [
                            {
                                "type": "preference",
                                "name": "enable-experimental-web-platform-features",
                                "value_to_set": "enabled"
                            }
                        ]
                    }
                ]
            },
            "title": "Sanitizer"
        }
    ]
}
