tor-browser

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

339501-2.xhtml (593B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3 
      4 <script>
      5 
      6 function boom()
      7 {
      8  document.addEventListener("DOMNodeRemoved", foo, false);
      9  remove(document.getElementById("B"));
     10  document.removeEventListener("DOMNodeRemoved", foo, false);
     11 
     12  function foo()
     13  {
     14    document.removeEventListener("DOMNodeRemoved", foo, false);
     15    remove(document.getElementById("A"));
     16  }
     17 }
     18 
     19 
     20 window.addEventListener("load", boom, false);
     21 
     22 function remove(q1) { q1.parentNode.removeChild(q1); }
     23 
     24 </script>
     25 
     26 </head>
     27 
     28 <body>
     29 
     30 <select><option id="A">A</option><option id="B">B</option></select>
     31 
     32 </body>
     33 </html>