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>
3 <head></head>
5 <body>
6 <form method="post" action="#" enctype="multipart/form-data" name="content">
8 <div id="sshot" style="position:absolute; left:0; top:70; width:600;
9 visibility:visible">
10 <input type="file" name="sshot-1" size="20">
11 </div>
13 <div id="comment" style="position:absolute; left:0; top:70; width:600;
14 visibility:hidden"></div>
16 <script language="JavaScript">
17 <!--
18 document.documentElement.offsetHeight;
19 document.getElementById('sshot').style.display = 'none';
20 document.getElementById('comment').style.display = 'none';
21 // -->
22 </script>
23 </form>
24 </body></html>