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 function handleRequest(request, response)
2 {
3 var p = request.queryString.split('|');
4 response.setHeader('Content-Language', p[0], false);
5 response.write('<html><head><meta name="application-name" content="sjs"' +
6 (p.length > 1 ? (' lang="' + p[1] + '"') : '') + '></head><body></body></html>');
7 }