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 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 document.addEventListener("DOMContentLoaded", function() {
6 var t = document.querySelector("textarea");
7 t.focus();
8 document.querySelector("#dst").appendChild(t);
9 }, false);
10 </script>
11 <div>
12 <textarea>I
13 am
14 a
15 long
16 long
17 long
18 long
19 textarea
20 </textarea>
21 </div>
22 <div id="dst"></div>
23 </body>
24 </html>