Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <!DOCTYPE html>
2 <script>
4 function boom()
5 {
6 document.documentElement.removeChild(document.body);
7 var newBody = document.createElementNS("http://www.w3.org/1999/xhtml", "body");
8 document.documentElement.appendChild(newBody);
9 newBody.contentEditable = "true";
10 document.execCommand("inserthtml", false, "<textarea>a</textarea>");
11 document.execCommand("insertimage", false, "1.jpg");
12 try { document.execCommand("forwardDelete", false, null); } catch(e) { }
13 document.execCommand("inserthtml", false, "x<span><\/span>y");
14 }
16 </script>
18 <body onload="boom();"></body>