RESOLVED CONFIGURATION CHANGED149416
Please allow WKWebView to control Do Not Track
https://bugs.webkit.org/show_bug.cgi?id=149416
Summary Please allow WKWebView to control Do Not Track
Stefan Arentz
Reported 2015-09-21 14:10:39 PDT
It would be great if the WKWebView had an option to enable the DNT header. Either globally or per WKWebView.
Attachments
David Kilzer (:ddkilzer)
Comment 1 2019-12-30 05:22:35 PST
As Brady mentioned, support for Do Not Track was removed in Safari on iOS 13 and macOS 10.14. It’s also a failed standard that no major websites supported. <https://twitter.com/bradeeoh/status/1211535779748405250>
Maciej Stachowiak
Comment 2 2020-01-06 20:54:10 PST
Probably the best path forward for this would be a general feature to let WKWebView clients add custom headers. I don't think we'd resurrect built-in DNT support. Also I wouldn't recommend browsers implementing it.
Radar WebKit Bug Importer
Comment 3 2020-01-06 20:54:20 PST
Stefan Arentz
Comment 4 2020-01-07 18:59:57 PST
Apologies for the confusion, this was not a request to introduce DNT back into Safari. It is only a request to allow third-party browsers (like Firefox in this case) to make an independent decision to enable this header in the WKWebView. A general feature to let WKWebView users set arbitrary headers sounds like a great solution. As long as these custom headers are not just sent for the main frame. They would have to go to resource on the page.
Note You need to log in before you can comment on or make changes to this bug.