summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-26 18:35:29 +0200
committerjaseg <git@jaseg.de>2023-10-14 12:08:40 +0200
commitdff5da4d5049a02855fe72b9dcba2a1dce6c3593 (patch)
tree4904ce39b15ac9c885a8c6fd004b6fa94ffce38a /themes/conspiracy/layouts/_default
parent2fd22e30ce176d8d8a641fd371ad1623b082eaaf (diff)
downloadblog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.tar.gz
blog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.tar.bz2
blog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.zip
Add google web environment integrity protest message
Diffstat (limited to 'themes/conspiracy/layouts/_default')
-rw-r--r--themes/conspiracy/layouts/_default/baseof.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/conspiracy/layouts/_default/baseof.html b/themes/conspiracy/layouts/_default/baseof.html
index c4963da..eb163b6 100644
--- a/themes/conspiracy/layouts/_default/baseof.html
+++ b/themes/conspiracy/layouts/_default/baseof.html
@@ -5,5 +5,13 @@
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}
+ <script>
+ if(navigator.getEnvironmentIntegrity!==undefined)document.querySelector('body').innerHTML=`<h1>Your browser
+ contains Google DRM</h1>"Web Environment Integrity" is a Google euphemism for a DRM that is designed to
+ prevent ad-blocking, and which Google has forced into their browsers against widespread public opposition.
+ In support of an open web, this website does not function with this DRM. Please install a browser such
+ as <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> that respects your freedom and supports
+ ad blockers.`;
+ </script>
</body>
</html>