JuliaDocs/Documenter.jl

Prevent leaking trackable pageview stats to CDNs by default

Offen

#2.391 geöffnet am 06.01.2024

 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Julia (513 Forks)batch import
Format: HTMLhelp wanted

Repository-Metriken

Stars
 (910 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 16T 9h) (3 gemergte PRs in 30 T)

Beschreibung

This is a kinda continuation of my previous comment here: https://github.com/JuliaDocs/Documenter.jl/issues/2159#issuecomment-1879633205 from #2159 .

It would be great if the generated HTML didn't send referrer URLs in headers, thus preventing the CDNs the default access to (very easily trackable) user page load stats by default. In turn, this would allow much better compliance with various privacy protection guidelines, incl. GDPR.

For the beginning, I think that just pasting a referrerpolicy="no-referrer" into all <link> tags that point to external CDNs would be more than sufficient. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#referrerpolicy for details there.

Thanks!

Contributor Guide