I am using Github Pages to host an angularJS website, and Google Apps Script for some server side things. My problem is that if the user has enabled the "Do not track"-header on their device settings, my JavaScript CORS requests fails. I have only tested with iOS, but I assume the same problem will be present on android or any device with a "Do not track" option.
What I want to do is to remove the DNT
header for all $http
requests. How can I do this? Is it even possible?