| Index: lib/contentPolicy.js | 
| =================================================================== | 
| --- a/lib/contentPolicy.js | 
| +++ b/lib/contentPolicy.js | 
| @@ -473,35 +473,16 @@ let PolicyImplementation = | 
| } | 
| break; | 
| } | 
| case "http-on-modify-request": | 
| { | 
| if (!(subject instanceof Ci.nsIHttpChannel)) | 
| return; | 
| - if (Prefs.enabled) | 
| - { | 
| - let match = defaultMatcher.matchesAny(subject.URI.spec, "DONOTTRACK", null, false); | 
| - if (match && match instanceof BlockingFilter) | 
| - { | 
| - FilterStorage.increaseHitCount(match); | 
| - subject.setRequestHeader("DNT", "1", false); | 
| - | 
| - // Bug 23845 - Some routers are broken and cannot handle DNT header | 
| - // following Connection header. Make sure Connection header is last. | 
| - try | 
| - { | 
| - let connection = subject.getRequestHeader("Connection"); | 
| - subject.setRequestHeader("Connection", null, false); | 
| - subject.setRequestHeader("Connection", connection, false); | 
| - } catch(e) {} | 
| - } | 
| - } | 
| - | 
| if (this.previousRequest && subject.URI == this.previousRequest[0] && | 
| subject instanceof Ci.nsIWritablePropertyBag) | 
| { | 
| // We just handled a content policy call for this request - associate | 
| // the data with the channel so that we can find it in case of a redirect. | 
| subject.setProperty("abpRequestType", this.previousRequest[1]); | 
| this.previousRequest = null; | 
| } |