Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
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 <head>
4 <meta charset="utf-8">
5 </head>
6 <body>
7 <script>
8 function addPlugin(type="application/x-test") {
9 var embed = document.createElement("embed");
10 embed.style.width = "200px";
11 embed.style.height = "200px";
12 embed.setAttribute("type", type);
13 return document.body.appendChild(embed);
14 }
15 </script>
16 </body>
17 </html>