Permalink
Browse files

updated header

  • Loading branch information...
1 parent 508d9b5 commit 4737a804299e1bd12ce385c71697f296fe4b5497 @jonathanmayer committed Jan 30, 2011
Showing with 12 additions and 3 deletions.
  1. +4 −1 jetpack/donottrack.js
  2. +4 −1 proxy/donottrack.py
  3. +4 −1 xpcom/donottrack.js
View
@@ -4,10 +4,13 @@ Jonathan Mayer - jmayer@stanford.edu
A Jetpack module that adds a Do Not Track header to all web requests.
+v0.02 - 1/30/11
+Updated header.
+
v0.01 - 11/14/10
*/
-var DoNotTrackHeaderName = "X-Do-Not-Track";
+var DoNotTrackHeaderName = "DNT";
var DoNotTrackHeaderValue = "1";
var {Cc, Ci} = require("chrome");
View
@@ -4,6 +4,9 @@
A proof-of-concept web proxy that adds a Do Not Track header to all requests. Not intended for regular use.
+v0.02 - 1/30/11
+Updated header.
+
v0.01 - 10/5/10
Sloppy HTTP 1.0 support. Apologies for any Python faux pas; this is my first foray into the language.
Acknowledgement: Architecture follows Suzuki Hisao's TinyHTTPProxy, http://www.okisoft.co.jp/esc/python/proxy/.
@@ -15,7 +18,7 @@
import socket
import select
-DoNotTrackHeaderName = "X-Do-Not-Track"
+DoNotTrackHeaderName = "DNT"
DoNotTrackHeaderValue = "1"
AllowedHosts = ["127.0.0.1"]
View
@@ -4,12 +4,15 @@ Jonathan Mayer - jmayer@stanford.edu
An XPCOM component that adds a Do Not Track header to all web requests.
+v0.02 - 1/30/11
+Updated header.
+
v0.01 - 10/26/10
Acknowledgement: Closely follows Mozilla's example XPCOM HTTP header modification component, https://developer.mozilla.org/en/Setting_HTTP_request_headers.
*/
-var DoNotTrackHeaderName = "X-Do-Not-Track";
+var DoNotTrackHeaderName = "DNT";
var DoNotTrackHeaderValue = "1";
function DNTHTTPListener() { }

0 comments on commit 4737a80

Please sign in to comment.