tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

delete-content-in-no-data-object.html (830B)


      1 <!doctype html>
      2 <html class="test-wait">
      3 <head>
      4 <meta charset="utf-8">
      5 <script>
      6 document.addEventListener("DOMContentLoaded", () => {
      7  requestAnimationFrame(() => {
      8    setTimeout(() => {
      9      document.execCommand("delete");
     10      document.documentElement.removeAttribute("class");
     11    }, 0);
     12    document.execCommand("insertImage", false, "x");
     13  });
     14  document.execCommand("justifyCenter");
     15 })
     16 function onError() {
     17  document.querySelector("s").before("BEFORE");
     18  document.designMode = "on";
     19  const img = document.querySelector("img");
     20  img.innerHTML = "IMG";
     21  getSelection().setBaseAndExtent(document.querySelector("kbd"), 0, img, 1);
     22 }
     23 </script>
     24 </head>
     25 <body><object onerror="onError()">
     26 <s>
     27 <img>
     28 SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
     29 <kbd>
     30 </kbd></s></object></body>
     31 </html>