Created
May 22, 2014 22:27
-
-
Save karlcow/f694f876641bb47676e0 to your computer and use it in GitHub Desktop.
People trying to put copy protection on their content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- WP Content Copy Protection script by Rynaldo Stoltz Starts - http://securiilock.com --> | |
<div align="center"><noscript> | |
<div style="position:fixed; top:0px; left:0px; z-index:3000; height:100%; width:100%; background-color:#FFFFFF"> | |
<div style="font-family: Tahoma; font-size: 14px; background-color:#FFF000; padding: 10pt;">Please enable your Javascript to see this page as it is meant to appear!</div></div> | |
</noscript></div> | |
<script type="text/javascript"> | |
window.onload = function() { | |
disableSelection(document.body) | |
} | |
function disableSelection(target){ | |
if (typeof target.onselectstart!="undefined") | |
target.onselectstart=function(){return false} | |
else if (typeof target.style.MozUserSelect!="undefined") | |
target.style.MozUserSelect="none" | |
else | |
target.onmousedown=function() {return false} | |
target.style.cursor = "default" | |
} | |
</script> | |
<script type="text/javascript"> | |
function mousedwn(e) { | |
try { if (event.button == 2||event.button == 3) return false; } | |
catch (e) { if (e.which == 3) return false; } | |
} | |
document.oncontextmenu = function() { return false; } | |
document.ondragstart = function() { return false; } | |
document.onmousedown = mousedwn; | |
</script> | |
<style type="text/css"> | |
* : (input, textarea) { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
} | |
</style> | |
<style type="text/css"> | |
img { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
} | |
</style> | |
<script type="text/javascript"> | |
window.addEventListener("keydown",function (e) { | |
if (e.ctrlKey && (e.which == 65 || e.which == 66 || e.which == 67 || e.which == 80 || e.which == 83 || e.which == 85)) { | |
e.preventDefault(); | |
} | |
}) | |
document.keypress = function(e) { | |
if (e.ctrlKey && (e.which == 65 || e.which == 66 || e.which == 67 || e.which == 80 || e.which == 83 || e.which == 85)) { | |
} | |
return false; | |
}; | |
</script> | |
<script type="text/javascript"> | |
document.onkeydown = function (event) { | |
event = (event || window.event); | |
if (event.keyCode == 123 || event.keyCode == 18) | |
{ | |
return false; | |
} | |
} | |
</script> | |
<!-- WP Content Copy Protection script by Rynaldo Stoltz Ends - http://securiilock.com --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this case an exam training site to prefer for the examn
It's not for us to decide if someone else should do it or not....
Also yes they might bypass it of course but then your courtcase just became 100% solid where they could have said We din';t know etc etc. (judges in holland are pussy's)