Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: disable Right Click

  1. #1

    Default disable Right Click

    how can disable Right Click?

  2. #2
    Join Date
    May 2007
    Posts
    588

    Default Re: disable Right Click

    by searching google for "disable Right Click"

  3. #3

    Default Re: disable Right Click

    Quote Originally Posted by leki
    by searching google for "disable Right Click"
    but is not work

  4. #4
    Join Date
    May 2007
    Posts
    588

    Default Re: disable Right Click

    Quote Originally Posted by sam
    Quote Originally Posted by leki
    by searching google for "disable Right Click"
    but is not work
    provide "a lot" more details and maybe someone can help

  5. #5

    Default Re: disable Right Click

    Pls insert the script into your "myjavascript.js".This will help you to disable Right Click.

    <script language="javascript">
    function right(e) {
    if (navigator.appName == 'Netscape' &&
    (e.which == 3 || e.which == 2))
    return false;
    else if (navigator.appName == 'Microsoft Internet Explorer' &&
    (event.button == 2 || event.button == 3)) {
    alert("Sorry, Right-Click Disabled.");
    return false;
    }
    return true;
    }

    document.onmousedown=right;
    document.onmouseup=right;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (document.layers) window.captureEvents(Event.MOUSEUP);
    window.onmousedown=right;
    window.onmouseup=right;
    </script>

  6. #6

    Default Re: disable Right Click

    Quote Originally Posted by buyscripts
    Pls insert the script into your "myjavascript.js".This will help you to disable Right Click.

    <script language="javascript">
    function right(e) {
    if (navigator.appName == 'Netscape' &&
    (e.which == 3 || e.which == 2))
    return false;
    else if (navigator.appName == 'Microsoft Internet Explorer' &&
    (event.button == 2 || event.button == 3)) {
    alert("Sorry, Right-Click Disabled.");
    return false;
    }
    return true;
    }

    document.onmousedown=right;
    document.onmouseup=right;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (document.layers) window.captureEvents(Event.MOUSEUP);
    window.onmousedown=right;
    window.onmouseup=right;
    </script>
    I try this one. but is not work

  7. #7
    Join Date
    Apr 2007
    Posts
    2,202

  8. #8

    Default Re: disable Right Click

    still we can read source code. but your demo page not showing source code.

  9. #9
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: disable Right Click

    Which demo page ? url ?

    We have not done anything to prevent others viewing source code. It is almost impossible to do.

  10. #10

    Default Re: disable Right Click

    Quote Originally Posted by admin
    Which demo page ? url ?

    We have not done anything to prevent others viewing source code. It is almost impossible to do.
    this page http://video.bizhat.com/view/1150/test/

Page 1 of 2 12 LastLast

Similar Threads

  1. Disable Guest_Info logging for Bandwidth (DB issues)
    By icxxx in forum Installation Support
    Replies: 1
    Last Post: 02-09-2009, 08:35 PM
  2. Disable Flagging
    By codyr1951 in forum General Discussions
    Replies: 1
    Last Post: 04-23-2008, 06:06 AM
  3. Can we set one (not all) member package to disable uploads?
    By jake5 in forum Installation Support
    Replies: 2
    Last Post: 04-14-2008, 07:12 PM
  4. when i click on
    By baleyas in forum Installation Support
    Replies: 0
    Last Post: 09-18-2007, 09:35 PM
  5. Allow owners to disable downloads?
    By leki in forum Fixed Bugs
    Replies: 0
    Last Post: 08-27-2007, 04:10 PM

Bookmarks

Posting Permissions

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