Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to disable mouse's right click

Reply
Thread Tools

How to disable mouse's right click

 
 
hon123456
Guest
Posts: n/a
 
      12-20-2005
Dear all,

I encounter a web page which have no reaction when I right
click the mouse. I want to
know how to disable the right click. Is it in HTML or javascript?
Please help. Thanks.

 
Reply With Quote
 
 
 
 
Rob McAninch
Guest
Posts: n/a
 
      12-20-2005
hon123456>:
> I encounter a web page which have no reaction when I right
> click the mouse. I want to
> know how to disable the right click. Is it in HTML or javascript?


JavaScript. HTML can't do anything programmatically, it is only a
markup language. View Source.

--
Rob McAninch
http://rock13.com
 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      12-20-2005
Deciding to do something for the good of humanity, hon123456
<(E-Mail Removed)> spouted in alt.html:

> I want to
> know how to disable the right click.


You can't. You can try, but anyone who knows anything will be able to
circumvent whatever measure you put into place, and in the process you
will annoy any visitors who want to use the right click menu for *any*
reason - e.g. to bookmark your page so they can return later.

And Macs don't have a right mouse button.

--
Mark Parnell
================================================== ===
Att. Google Groups users - this is your last warning:
http://www.safalra.com/special/googlegroupsreply/
 
Reply With Quote
 
Chris Beall
Guest
Posts: n/a
 
      12-20-2005
hon123456 wrote:
> Dear all,
>
> I encounter a web page which have no reaction when I right
> click the mouse. I want to
> know how to disable the right click. Is it in HTML or javascript?
> Please help. Thanks.
>


hon123456,

You should be aware that if you actually do disable a right click, you
will prevent users of Gekko-based browsers from easily opening links on
your site in a new browser tab, rather than an entirely new window.

Most of them will not like this and therefore will avoid your site.

Chris Beall

 
Reply With Quote
 
Roy Schestowitz
Guest
Posts: n/a
 
      12-20-2005
__/ [hon123456] on Tuesday 20 December 2005 03:00 \__

> Dear all,
>
> I encounter a web page which have no reaction when I right
> click the mouse. I want to
> know how to disable the right click. Is it in HTML or javascript?
> Please help. Thanks.



Not everyone uses JavaScript. Not everyone has a right mouse button. Browsers
differ and so does their functionality.


__/ [Mark Parnell] on Tuesday 20 December 2005 03:09 \__

>> I want to
>> know how to disable the right click.

>
> You can't. You can try, but anyone who knows anything will be able to
> circumvent whatever measure you put into place, and in the process you
> will annoy any visitors who want to use the right click menu for *any*
> reason - e.g. to bookmark your page so they can return later.
>
> And Macs don't have a right mouse button.



Quoted because it's worth repeating. Good answer.

Roy
 
Reply With Quote
 
Chaddy2222
Guest
Posts: n/a
 
      12-20-2005

hon123456 wrote:

> Dear all,
>
> I encounter a web page which have no reaction when I right
> click the mouse. I want to
> know how to disable the right click. Is it in HTML or javascript?
> Please help. Thanks.

Look. If you really don't want your content to be stolen..............
DON'T PUBLISH IT!!!!!!!!!!!
It's quite simple really.
--
Regards Chad. http://freewebdesign.cjb.cc

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
websites that disable right-click functionality Trevor Smithson Firefox 8 02-16-2006 05:11 PM
Tool to enable Right click on pages where Right click is disabled tsteinke@gmail.com Computer Support 4 08-28-2005 11:53 PM
unable to find the disable right-click extension Ranjit Firefox 4 12-05-2004 03:22 AM
Re: How to disable right click mouse?? Vidar Petursson ASP .Net 2 07-25-2003 07:11 PM
Re: How to disable right click mouse?? Kevin Spencer ASP .Net 0 07-24-2003 05:11 PM



Advertisments