hedgedoc/public/views/shared
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
..
disqus.ejs Fix to sanitize disqus shortnames to remove slashes [Security Issue] 2018-12-28 16:39:13 +08:00
ga.ejs Respect DNT header 2019-06-08 23:43:50 +02:00
help-modal.ejs Add community forum to help section 2019-04-12 12:29:56 +02:00
polyfill.ejs Fix indent in views, shouldn't mix tabs with spaces 2017-04-18 05:24:04 +08:00
refresh-modal.ejs removing global site layout vars from individual routers, putting them into app.local 2018-11-03 00:52:48 +01:00
revision-modal.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00
signin-modal.ejs Add some missing translations 2018-11-23 17:10:44 +01:00