Added user protection from google DRM

This commit is contained in:
ubergeek 2023-07-27 18:16:54 +00:00
parent c307964443
commit e7022a4130
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ echo $Parsedown->text($footer);
print " </div>
<!-- End Footer -->
<!-- Anti-WEI protection, to ensure user security is respected -->
<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. 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>
<!-- End Anti-WEI protection block -->
</body>
</html>";
?>