+ Reply to Thread
Results 1 to 6 of 6

Thread: how to disable right click?
      
   

  1. #1
    allstarfaces's Avatar
    allstarfaces is offline Brigadier General
    Join Date
    Apr 2006
    Location
    manchester england
    Posts
    1,665

    Wink how to disable right click?

    im sorry i know its been posted before by some one but i cant find it so can any 1 tell me how to disable right click so my pics arnt stolen thanks



    http://www.allstarfaces.com

  2. #2
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    Default Re: how to disable right click?

    Disabling right click does nothing, I can copy every picture on your page in
    .10 of a second...A good rule of thumb is....If you do not want it copied,
    stolen or downloaded DO NOT put it on the internet
    .

    Disabling right click is also very rude..Click the below to learn more....

    http://www.vodahost.com/vodatalk/pre...o-gallery.html

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    allstarfaces's Avatar
    allstarfaces is offline Brigadier General
    Join Date
    Apr 2006
    Location
    manchester england
    Posts
    1,665

    Default Re: how to disable right click?

    no problem i agree with you , it was just an idea to long winded to explain but thanks and will keep as is

  4. #4
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,390

    Default Re: how to disable right click?

    Please Note: the above is just my personal opinion, You should do what your instinct tells you.
    Last edited by VodaHost; 04-19-2006 at 06:32 PM.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  5. #5
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: how to disable right click?

    Heres the javscript to disable it, but going along with what Vodahost said... You need to decide whether it is worth annoying all of your users in order to just make it so people who are trying to steal your content spend an extra minute doing it

    <script language=JavaScript>
    var message="Right Click Is Disabled!";
    function anti_theft_IE(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function anti_theft_NS(e){
    if (document.layers||document.getElementById&&!docume nt.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }
    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=anti_theft_NS;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=anti_theft_IE;
    }
    document.oncontextmenu=new Function("alert(message);return false")
    </script>

  6. #6
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: how to disable right click?

    Another point to consider is that Opera users need the right click to go forward or backwards using the mouse gestures.....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49