Add google web environment integrity protest message
This commit is contained in:
parent
2fd22e30ce
commit
dff5da4d50
1 changed files with 8 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue