Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated header

  • Loading branch information...
commit 4737a804299e1bd12ce385c71697f296fe4b5497 1 parent 508d9b5
@jonathanmayer authored
View
5 jetpack/donottrack.js
@@ -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
5 proxy/donottrack.py
@@ -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
5 xpcom/donottrack.js
@@ -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() { }
Please sign in to comment.
Something went wrong with that request. Please try again.