HackMD/public/views
Sheogorath da4665c759
Respect DNT header
Do Not Track (DNT) is an old web standard in order to notify pages that
the user doesn't want to be tracked. Even while a lot of pages either
ignore this header or even worse, use it for tracking purposes, the
orignal intention of this header is good and should be adopted.

This patch implements a respect of the DNT header by no longer including
the optional Google Analytics and disqus integrations when sending a DNT
header. This should reduce outside resource usage and help to stay more
private.

This should later-on extended towards other document content (i.e.
iframe based content).

The reason to not change the CDN handling is that CDNs will be
deprecated with next release and removed in long term.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-06-08 23:43:50 +02:00
..
codimd Update jQuery to version 3.4.1 2019-05-06 10:42:41 +02:00
includes Fix #1016: webpack include defect for scripts and header files. 2018-10-16 11:40:21 +02:00
index Add Discourse link to footer 2019-05-30 00:02:37 +02:00
shared Respect DNT header 2019-06-08 23:43:50 +02:00
codimd.ejs Rename HackMD view to CodiMD 2018-06-24 13:40:18 +02:00
error.ejs removing global site layout vars from individual routers, putting them into app.local 2018-11-03 00:52:48 +01:00
html.hbs Update jQuery to version 3.4.1 2019-05-06 10:42:41 +02:00
index.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00
pretty.ejs Respect DNT header 2019-06-08 23:43:50 +02:00
slide.ejs Respect DNT header 2019-06-08 23:43:50 +02:00