Bug 73088 (DOM-dnt) - Implementing the Javascript Interface for the Do Not Track HTTP header
Summary: Implementing the Javascript Interface for the Do Not Track HTTP header
Status: UNCONFIRMED
Alias: DOM-dnt
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 10:56 PST by karl
Modified: 2012-05-22 03:25 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2011-11-24 10:56:11 PST
The Do Not Track HTTP header is a flag to give the possibility for users to advertise their preferences to not be tracked. The specification has been published as 1st WD already.

About http://www.w3.org/TR/2011/WD-tracking-dnt-20111114/
Tracking Preference Expression (DNT)
W3C Working Draft 14 November 2011


Currently the proposed DOM Interface for this HTTP header is
http://www.w3.org/TR/2011/WD-tracking-dnt-20111114/#js-dom

WebIDL
[NoInterfaceObject]
interface NavigatorDoNotTrack {

    readonly attribute DOMString doNotTrack;
};

The specification might need to be changed. 

Note that Mozilla has a feature documented differently.
https://developer.mozilla.org/en/DOM/navigator.doNotTrack
but no real bugs opened for it 
the closest is https://bugzilla.mozilla.org/show_bug.cgi?id=630357

And IE supports document.navigator.doNotTrack
http://www.w3.org/Submission/2011/SUBM-web-tracking-protection-20110224/#dnt-uas
Comment 1 Alexey Proskuryakov 2011-12-21 15:55:49 PST
Note that this is experimentally implemented in Safari now. Just commenting to save someone else the confusion I had when seeing it work.
Comment 2 Alexander Færøy 2012-05-22 03:25:01 PDT
Is anybody working on getting this into trunk?