Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script type="text/javascript">
4 function boom() {
5 select = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
6 text = document.body.childNodes[0];
7 select.setAttribute("onDOMSubtreeModified", "text.parentNode.removeChild(text);");
8 select.appendChild(text);
9 }
10 </script>
11 </head>
13 <body onload="boom()">
15 </body>
16 </html>