Re: How do i disable right click to stop people copying my site

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Don (Don_at_cccccccccc.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 15:44:59 -0500

Hi Mike,

You can try this: BUT!
=======================================
This script is *NOT* fool-proof. People can disable JavaScript support in
their browser, use a browser which doesn't support JavaScript, or use a
browser to link directly to the image that you want to protect. Also the
pages and images are normally stored in the user's browser cache (for
viewing later whilst offline) - with a little bit of work, the thief could
find your image in their cache. It also doesn't stop users accessing the
source of your page from the toolbar menus (View | Page Source). You could
attempt to load your page into a window without toolbars - but again this
isn't fool-proof. They can access the page directly, with toolbars, instead
of opening it without them as you intended. There is a tool for Microsoft
Internet Explorer 5 that will encrypt JScript code - but this is only
supported by Microsoft Internet Explorer 5 - and will not allow the scripts
to run on any other browser.

Bearing this in mind, the following script should stop right clicks (and
left button held down, followed by a right click) in both Netscape Navigator
and Microsoft Internet Explorer. It will not stop users who use a Mac -
where the mouse only has one button. Nor does it stop IE users from
rightclick + shift to get the menu.

If this script doesn't do what you require, i.e. protect your images and or
your scripts (and it won't) then don't use it and don't put your
images/scripts
 on the net.

If your livelihood relies on people not copying your images - then add
a water mark or "sample" stamp to your images.

http://www.dynamicdrive.com/dynamicindex9/noright.htm

-- 
Hope This Helps
Don
=====================
IEEE Degree
MS A+ Certified
StarBand Satellite Internet
FCC Certified Installer
FCC 3rd Class Lic.
Playing with FrontPage 2003 ;-)
My Playground: www.xmas-i-am.com
=====================
"mike allan" <mike allan@discussions.microsoft.com> wrote in message 
news:DC5102A7-19C6-49CE-A66A-3699F8A05799@microsoft.com...
| How do i disable the right click command to prevent others copying my work 
on
| my site 


Relevant Pages

  • Re: Absolute element offsets--exercise in futility
    ... browser sniffing in lieu of feature testing. ... implemented in the latest rewrite of jQuery purports only to support ... it is dynamic script injection. ...
    (comp.lang.javascript)
  • Re: How do i disable right click to stop people copying my site
    ... FCC Certified Installer ... |> This script is *NOT* fool-proof. ... |> pages and images are normally stored in the user's browser cache (for ...
    (microsoft.public.frontpage.client)
  • Re: How do i disable right click to stop people copying my site
    ... > This script is *NOT* fool-proof. ... > their browser, use a browser which doesn't support JavaScript, or use a ... > pages and images are normally stored in the user's browser cache (for ... > Internet Explorer 5 that will encrypt JScript code - but this is only ...
    (microsoft.public.frontpage.client)
  • Re: C++ code for "javascript:" in string value
    ... exactly the format of XBM images (apparently someone thought it would ... The "Javscript:" pseudo protocol is interpreted by the browser to mean ... Gecko tries to detect the ... delivered from the server and how script tokenizer works. ...
    (comp.lang.javascript)
  • Re: missing ) after argument list
    ... No known browser will be ... within `script' elements, whether used as a means to "comment out" the entire script or as single-line comment prefix: ... Its more Theory vs Reality. ... make sure all existing browsers "support" that, let alone all existing HTML user agents. ...
    (comp.lang.javascript)