summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-26 18:35:29 +0200
committerjaseg <git@jaseg.de>2023-07-26 18:35:29 +0200
commitd5d49f1e2e3ffa862c60d2147893de8bf7d83220 (patch)
tree64f735cb95e18ef9f66699b46d1aac7fb163a23e /themes/conspiracy/layouts/_default/baseof.html
parent81f65823f2b51ef3d67bc9bfc937e0dc183b51e9 (diff)
downloadblog-d5d49f1e2e3ffa862c60d2147893de8bf7d83220.tar.gz
blog-d5d49f1e2e3ffa862c60d2147893de8bf7d83220.tar.bz2
blog-d5d49f1e2e3ffa862c60d2147893de8bf7d83220.zip
Add google web environment integrity protest message
Diffstat (limited to 'themes/conspiracy/layouts/_default/baseof.html')
-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>