tor-browser

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

z_frames_update.html (514B)


      1 <html>
      2 <head>
      3 <script>
      4 function replaceBody() {
      5  var accService = Cc["@mozilla.org/accessibilityService;1"].
      6    getService(Ci.nsIAccessibilityService);
      7  accService.getAccessibleFor(document);
      8 
      9  var newBody = document.createElement("body");
     10  newBody.setAttribute("contentEditable", "true");
     11  newBody.textContent = "New Hello";
     12  document.documentElement.replaceChild(newBody, document.body);
     13  getComputedStyle(newBody, "").color;
     14 }
     15 </script>
     16 </head>
     17 <body onload="replaceBody();">
     18 OLD hello
     19 </body>
     20 </html>