tor-browser

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

insertunorderedlist-in-empty-table-editing-host.html (441B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <script type="text/javascript">
      5 
      6 function boom()
      7 {
      8  var table = document.createElement("table");
      9  document.body.appendChild(table);
     10  table.contentEditable = "true";
     11  table.focus();
     12  try {
     13    // This will throw, since it's attempting to inject a list inside a table
     14    document.execCommand("insertunorderedlist", false, null);
     15  } catch (e) {}
     16 }
     17 
     18 </script>
     19 </head>
     20 
     21 <body onload="boom();"></body>
     22 </html>