diff options
author | jaseg <git@jaseg.de> | 2023-07-26 18:35:29 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-14 12:08:40 +0200 |
commit | dff5da4d5049a02855fe72b9dcba2a1dce6c3593 (patch) | |
tree | 4904ce39b15ac9c885a8c6fd004b6fa94ffce38a /themes/conspiracy | |
parent | 2fd22e30ce176d8d8a641fd371ad1623b082eaaf (diff) | |
download | blog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.tar.gz blog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.tar.bz2 blog-dff5da4d5049a02855fe72b9dcba2a1dce6c3593.zip |
Add google web environment integrity protest message
Diffstat (limited to 'themes/conspiracy')
-rw-r--r-- | themes/conspiracy/layouts/_default/baseof.html | 8 |
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> |