Home

Sharky says No-Right-Click!No-Right-Click

In an effort to reduce image piracy from our website, we have employed a simple "No-Right-Click" script. While this is not fool-proof, it certainly helps. (Try right-clicking the shark.)

If you are granted permission to use our images on your site, we require you to install the No-Right-Click script on all pages containing our images.

It's very easy to setup. Just copy and paste the following Javascript between the <head> and </head> section of your own html.

<script language="JavaScript"> <!--
// No rightclick script v.2.5
// (c) 1998 barts1000
// barts1000@aol.com
// Don't delete this header!

var message="Sorry. This image is copyright Royce B. McClure."; // Message for the alert box

// 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>

Back to RoyceArt