From: FAQ server on
-----------------------------------------------------------------------
FAQ Topic - How do I disable the right mouse button?
-----------------------------------------------------------------------

The nonstandard `contextmenu` event is not widely supported.
Browsers that do support it may be configured to prevent scripts from
accessing that event.

Example:

<body oncontextmenu="return false">

Disables the context menu where supported. Note that this will not
prevent users from viewing your source code or copying images. To
discourage copying, provide a copyright notice.

<URL: http://msdn.microsoft.com/en-us/library/ms536914(VS.85).aspx>
<URL: https://developer.mozilla.org/En/DOM/Window.oncontextmenu>


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

From: Evertjan. on
FAQ server wrote on 13 aug 2010 in comp.lang.javascript:

> To discourage copying, provide a copyright notice.

What nonsense.

Copying [as in pressing ctrl-C] does not infringe copyright.

Copying [part of] a webpage has as much to do with copyright,
as [the act of] giving birth has to do with birthright.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
From: Garrett Smith on
On 2010-08-13 01:08 PM, Evertjan. wrote:
> FAQ server wrote on 13 aug 2010 in comp.lang.javascript:
>
>> To discourage copying, provide a copyright notice.
>
> What nonsense.
>

What nonsense?

> Copying [as in pressing ctrl-C] does not infringe copyright.
>
Did you misconstrue?

Is the entry written ambiguously? I suppose "unauthorized reproduction"
is better than "copying".
--
Garrett