Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Jun 2005
    Location
    Uk
    Posts
    180
    Tokens
    0

    Default Right Clicking Code

    Hi

    Who knows the code to stop right clicking ?

    Thanks
    Adam

  2. #2
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Some frank advice:
    Unless you want to look like a complet and utter n00b, who hasnt got a clue, dont use the right click code, anyone with an IQ higher than a salid can get past it, and it just ****es off normal users.

  3. #3
    Join Date
    Jun 2005
    Location
    Uk
    Posts
    180
    Tokens
    0

    Default

    I was only asking, dont post if your gonna be rude.

  4. #4
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default

    <script language=JavaScript>
    <!--
    //Disable right mouse click Script
    //By Maximus ([email protected]) w/ mods by DynamicDrive
    //For full source code, visit http://www.dynamicdrive.com
    var message="Function Disabled!";
    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }
    function clickNS4(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=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }
    document.oncontextmenu=new Function("alert(message);return false")
    // -->
    </script>
    Quote Originally Posted by aaronaz
    Hi

    Who knows the code to stop right clicking ?

    Thanks
    Adam

  5. #5
    Join Date
    Jun 2005
    Location
    Uk
    Posts
    180
    Tokens
    0

    Default

    Thanks Nelly

  6. #6
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Well if your gona ignor good advice and make your site look n00bish as possible you may as well have some dignty and not use a rediculy huge code for such a simple task

    <body oncontextmenu="return false">

    replace the body tag "/

    I dont know why i even both trying to give people useful advice, seeing as none one even takes notice "/

  7. #7
    Join Date
    Aug 2005
    Location
    Leicester
    Posts
    4,155
    Tokens
    1,622

    Latest Awards:

    Default

    Yea it easy to get past it.

  8. #8
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    Mentor is absolutely right Right click blockers are annoying and in no way stop people ripping your stuff "/


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  9. #9
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    yeh there just a waist of time

  10. #10
    Join Date
    Aug 2004
    Location
    Essex
    Posts
    23,585
    Tokens
    9,258

    Latest Awards:

    Default

    I hate sites with them on and end up not visiting them ever again.

Page 1 of 3 123 LastLast

Posting Permissions

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