This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Disable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable "Properties" from the rightclick context menu in IE" Watch "Disable "Properties" from the rightclick context menu in IE" New topic
Author

Disable "Properties" from the rightclick context menu in IE

thiruselvan
Greenhorn

Joined: Sep 30, 2008
Posts: 5
Is there any ways to disable/remove the "Properties" menu item from the right click context menu of IE using javascript?
Thanks in advance.
Sapika Am
Greenhorn

Joined: Jan 15, 2008
Posts: 10
what is your intent for disabling properties from right click?
Well its a registry tweak that you will have to do for IE Browser. (properties can be accessed from file > Properties too )


If you wanted to completely disable right click for your page then add this to body ......
<body oncontextmenu="return false;">
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
"thirumaniselvan thirumaniselvan"

Please check your private messages here: http://www.coderanch.com/forums/user/profile/

Thanks,
Eric
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not just disable certain things from the context menu and most browsers have settings that do not allow you to disable the menu at all.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60732
    
  65

Rather rude, don't you think? Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sapika Am
Greenhorn

Joined: Jan 15, 2008
Posts: 10
Thirumaniselvan, is it properties alone that you want to disable??

you might want to take a loot at Disabling .... details a lot on this matter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable "Properties" from the rightclick context menu in IE
 
Similar Threads
Invoking functions in Javascript
forms & security
Customized context menu
disabling right click using jquery
how to prohibit picture download...?