Added user protection from google DRM
This commit is contained in:
parent
c307964443
commit
e7022a4130
4
wiki.php
4
wiki.php
|
@ -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>";
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue