JuliaDocs/Documenter.jl

Prevent leaking trackable pageview stats to CDNs by default

開放

#2,391 建立於 2024年1月6日

 (2 則留言) (1 個反應) (0 位負責人)Julia (513 個分叉)batch import
Format: HTMLhelp wanted

倉庫指標

星標
 (910 顆星)
PR 合併指標
 (平均合併 16天 9小時) (30 天內合併 3 個 PR)

描述

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!

貢獻者指南