tor-browser

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

invalidation-1-ref.html (320B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <body>
      5 <p id="first">f<span>o</span>o</p>
      6 <p id="second">bar</p>
      7 <script>
      8 var p1 = document.getElementById("first");
      9 var p2 = document.getElementById("second");
     10 var selection = window.getSelection();
     11 selection.setBaseAndExtent(p1.firstChild, 0, p2.firstChild, 2);
     12 </script>
     13 </body>
     14 </html>