Skip to content

Commit e50b64d

Browse files
committed
feat(privacy): add referrer meta tag to prevent information leakage
Add <meta name="referrer" content="never"> to document head for enhanced privacy protection and hotlink bypass capability. This prevents browsers from sending HTTP Referer headers when loading external resources, particularly useful for: - Displaying images from platforms with referrer-based hotlink protection - Reducing information leakage to third-party servers - Enhancing user privacy Implements W3C Referrer Policy specification.
1 parent cecfc42 commit e50b64d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<head>
22
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3+
<meta name="referrer" content="never">
34
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f7f7f7">
45
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1b1b1e">
56
<meta name="mobile-web-app-capable" content="yes">

0 commit comments

Comments
 (0)