|
Disable Right-Click
There is a simple javascript code that you can include on your pages that would keep people from being able to right-click anywhere on your page...BUT, it will not stop them from viewing the source code from their browser's menu (View -> Page Source). These little scripts usually work best as a reminder of not to steal, but they don't come with any guarantees ;). To disable right-hand clicking on your webpage, just insert the following code between <HEAD> and </HEAD>.
Here are some programs that claim to save you from bandwidth theft (these have not been verified nor are they endorsed by My ParenTime):
I hope this helps you!
<script language="JavaScript">
<!--
var message="Put your message here - ie: Copyright © Name of Site. No reproductions w/o permission."; //
function click(i) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (i.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
|