How to disable right click mouse??

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: How to disable right click mouse??

    Forget it. That doesn't stop anyone from anything, and it marks your site as
    being designed by an amateur, as well as driving people away. A browser
    downloads files. If you see the image in the page, it is already downloaded
    to your machine. And there are about 10 different ways to get to it. The
    best thing you can do is to use a digital watermark in your images, which
    doesn't prevent them from being copied, but enables you to track them to a
    certain extent. Check out the following web site:

    [url]http://www.digimarc.com/[/url]

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Roberto López" <rlopez@eurosistemas.net> wrote in message
    news:u%23h4DSgUDHA.736@TK2MSFTNGP09.phx.gbl...
    > Hi,
    > I need to disable the contextual menu that appears when click the
    > alternative button of the mouse. This is to avoid that users cannot save
    > images without express permissions.
    >
    > Thanks and regards.
    >
    > --
    > Roberto López
    > Dpto. Soporte Software
    > Eurosistemas Informáticos y Comunicaciones, S.L.
    >
    >

    Kevin Spencer Guest

  2. Similar Questions and Discussions

    1. Mouse over vs On click
      Hello, I hope someone can help me. I have successfully created a working 'image swap' on reaction of a 'mouse over'. But I want to use this...
    2. Capture mouse click
      I would like to capture the text in a PDF under a mouse click in Acrobat Reader. Is this possible using Javascript, or will I need to write a plugin?...
    3. Disable &quot;right mouse click&quot;
      Hi, quick question: when playing your movie, is there a way to disable the drop down menu from appearing when pressing your right mouse button? ...
    4. Move mouse cursor to X,Y location and simulate mouse click
      Hi, Just something that slip my mind.. but how do you move the mouse cursor to a sprite member and simulate a mouse click? Any help is...
    5. Right Mouse Click
      How can i let user to save any image on my director files,more to MIAW(still pictures though) using the right mouse button.can i do that?or can't...
  3. #2

    Default Re: How to disable right click mouse??

    Hi

    Like Jens said this does not protect anything.....

    <body oncontextmenu="return false">
    Or per image
    <img oncontextmenu="return false">
    IE only

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Roberto López" <rlopez@eurosistemas.net> wrote in message
    news:u%23h4DSgUDHA.736@TK2MSFTNGP09.phx.gbl...
    > Hi,
    > I need to disable the contextual menu that appears when click the
    > alternative button of the mouse. This is to avoid that users cannot save
    > images without express permissions.
    >
    > Thanks and regards.
    >
    > --
    > Roberto López
    > Dpto. Soporte Software
    > Eurosistemas Informáticos y Comunicaciones, S.L.
    >
    >

    Vidar Petursson Guest

  4. #3

    Default Re: How to disable right click mouse??

    Hi

    Ehhh Kevin... Dunno where this Jens came from :)

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Vidar Petursson" <theking@icysoft.com> wrote in message
    news:uA0wB1oUDHA.652@tk2msftngp13.phx.gbl...
    > Hi
    >
    > Like Jens said this does not protect anything.....
    >
    > <body oncontextmenu="return false">
    > Or per image
    > <img oncontextmenu="return false">
    > IE only
    >
    > --
    > Best Regards
    > Vidar Petursson
    > ==============================
    > Microsoft Internet Client & Controls MVP
    > ==============================
    > "Roberto López" <rlopez@eurosistemas.net> wrote in message
    > news:u%23h4DSgUDHA.736@TK2MSFTNGP09.phx.gbl...
    > > Hi,
    > > I need to disable the contextual menu that appears when click the
    > > alternative button of the mouse. This is to avoid that users cannot save
    > > images without express permissions.
    > >
    > > Thanks and regards.
    > >
    > > --
    > > Roberto López
    > > Dpto. Soporte Software
    > > Eurosistemas Informáticos y Comunicaciones, S.L.
    > >
    > >
    >
    >

    Vidar Petursson Guest

  5. #4

    Default Re: How to disable right click mouse??

    Thanks Vidar,

    "Vidar Petursson" <theking@icysoft.com> escribió en el mensaje
    news:uA0wB1oUDHA.652@tk2msftngp13.phx.gbl...
    > Hi
    >
    > Like Jens said this does not protect anything.....
    >
    > <body oncontextmenu="return false">
    > Or per image
    > <img oncontextmenu="return false">
    > IE only
    >
    > --
    > Best Regards
    > Vidar Petursson
    > ==============================
    > Microsoft Internet Client & Controls MVP
    > ==============================
    > "Roberto López" <rlopez@eurosistemas.net> wrote in message
    > news:u%23h4DSgUDHA.736@TK2MSFTNGP09.phx.gbl...
    > > Hi,
    > > I need to disable the contextual menu that appears when click the
    > > alternative button of the mouse. This is to avoid that users cannot save
    > > images without express permissions.
    > >
    > > Thanks and regards.
    > >
    > > --
    > > Roberto López
    > > Dpto. Soporte Software
    > > Eurosistemas Informáticos y Comunicaciones, S.L.
    > >
    > >
    >
    >

    Roberto López Guest

  6. #5

    Thumbs up Re: How to disable right click mouse??

    <script language="javascript">
    document.onmousedown=disableclick;
    status="Right Click Disabled";
    Function disableclick(e)
    {
    if(event.button==2)
    {
    alert(status);
    return false;
    }
    }
    </script>



    <body oncontextmenu="return false">
    ...
    </body>
    arif desai Guest

Posting Permissions

  • You may not post new threads
  • You may 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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139