• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to disable right click on webbrowser

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

i am new to java, if anybody know how to disable right click option for browser please send me mail.

[ UD: removed email address ]
[ October 07, 2008: Message edited by: Ulf Dittmer ]
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch

I am not convinced you have arrived at the right forum; I think your query ought to be transferred elsewhere. And please don't ask people to e-mail you; we all want to learn from your questions.

I suspect it may be an impossible task; browsers are designed to conform to the usual conventions of PC use which includes right-clicking.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll move this to the HTML/JavaScript forum, since it has nothing to do with IDE or similar tools (which this forum is all about).

You may want to familiarize yourself with InterfaceDesignersRule #1. It explains why what you're asking is not a good idea. Why do you want to do this?
 
sivaganga bejawada
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i can make it disable using "javascript" for my web page, but i want to disable that for every website that my browser open. so i need to communicate with the browser.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not following. Do you want to disable that as a web user, or as the developer of a web app? If the former, I really don't understand why you'd want to limit yourself in that way. If the latter, you can't be serious about telling the user what to do on some web site that's not related to yours.

Also, you still haven't told us why you think this is a good idea (hint: it's not). The users will hate the web app for doing that.
reply
    Bookmark Topic Watch Topic
  • New Topic