Open dmarti opened 9 years ago
Hi @dmarti
I thought I could help you with this one. Detecting the HTTP header will require server-side tech though, as JavaScript can only see the user agent and referer.
It's fairly straightforward, all you need is stash all the request headers you're interested in in a JSON object and hand it over to the JS in the page. The only question is to know what server-side technology is at your disposal.
Let me know and I'll submit a PR. Cheers
Currently all of this site is on GitHub Pages. There is no server. We do need to get one, though, in order to handle bugs such as this one and setting the "DNT: T" for #11 .
I haven't decided on where to host it and what technology to use. Any suggestions would be welcome.
Ooh, I'm not well-versed in hosting services, but presumably the Amazon cloud: https://aws.amazon.com/websites/?nc2=h_l3_wa
http://webpolicy.org/2014/10/24/how-verizons-advertising-header-works/