No Right Click
Hello beloved people of SMF here is another Java code for all you.
What this code allows you to do is,when ever a person on your site trys to right click,a pop up will automaticly come and say (CopyRight Info)
This is a very helpful code for disabling
plagerism.
Here is a preview:
http://i25.tinypic.com/34j2o29.jpgAnd here is the code:
<script language="JavaScript">
<!--
/*
No rightclick script v.2.5
(c) 1998 barts1000
barts1000@aol.com
Don't delete this header!
*/
var message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";
// Don't edit below!
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
If you get any unexpected errors please comment,and i'l try to help you out.
Thank you for your time.