Forum Moderators: phranque
Here's the only thing I've found so far that relates directly to your question:
document.oncontextmenu = disableRightClick;
function disableRightClick()
{
return false;
}
Netscape 6 marks the first big commercial appearance of JavaScript 1.5 (next stop will be 2.0).
I think its a lost cause, not becuase of NS6, but because its would be nigh impossible to create a script to ban right clicking that works in all browsers and future access devices. There are so many ways to access content, right clicking is the most convenient for some.
And also why turn it off?
It's illegal to copy material off the internet and use it as your own within the guidelines of the Berne convention. Criminals will always find much smarter ways to get your copyright material other than right clicking!
Not being critical, just musing about something we think about a lot..then maybe your reasons for stopping right clicking is something else together. If so apologise for getting off track...