HackMD/public
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
..
css Merge pull request #93 from ttasovac/master 2019-06-04 16:09:26 +02:00
docs Release version 1.4.0 2019-05-31 01:08:45 +02:00
fonts Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
js Merge pull request #97 from SISheogorath/fix/linting 2019-06-04 16:09:46 +02:00
uploads upload image to public/uploads 2016-11-14 16:45:57 +08:00
vendor Fix toolbar day mode 2019-05-12 20:15:46 +02:00
views Respect DNT header 2019-06-08 23:43:50 +02:00
.eslintrc.js switching to eslint for code checking 2018-11-14 23:15:36 +01:00
apple-touch-icon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
codimd-icon-1024.png Rebrand HackMD to CodiMD 2018-06-24 13:24:12 +02:00
default.md Removed unused note and set empty on default note, updated features note 2016-01-17 09:57:25 -06:00
favicon.png optimize png images using zopflipng 2016-10-10 00:53:54 +08:00
screenshot.png Add new screenshot 2019-04-01 23:19:02 +02:00