This is an enhanced version of how to disable right click menu from a webpage.
Simple just copy and paste this code
<script LANGUAGE="JavaScript">
var message="Sorry this function is disabled."
function clickIE4(){
if(event.button==2){
alert(message)
return false}}
function clickNS4(e){
if(document.layers||document.getElementById&&!document.all){
if(e.which==2||e.which==3){
alert(message)
return false}}}
function disableselect(e){
return false}
function reEnable(){
return true}
document.onselectstart=new Function("return false")
if(window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable}
if(document.layers){
document.captureEvents(Event.MOUSEDOWN)
document.onmousedown=clickNS4}
else if(document.all&&!document.getElementById){
document.onmousedown=clickIE4}
document.oncontextmenu=new Function("alert(message);return false")
</script>
Enjoy!!!!!!!!!!!!!
Incoming search terms:
- how to disable right click in jsp (48)
- how to disable right click on jsp (3)
- disable right click in jsp (3)
- how tp disable right click in jsp (2)
- disabling right click in jsp (2)
- how to disable button using javascript in jsp (2)
- jsp disable context menu (2)
- how to disable enable button in HTML using JSP (2)
- how to disable flash right click through jquery (2)
- html disable right button firefox with menu (2)
- jquery disable flash right click (2)
- javascript to show alert message on right click (2)
- disable right click jsp (2)
- javascript disable right click prototype (2)
- disable right click to show in flash (2)
- Menu loading using jquery and javascript in jsp (2)
- how to disable mouse click on jsp (2)
- disable copy/paste using javascript in jsp (2)
- csharp excel disable right (2)
- actionscript 2 aggiungere o rimuovere a tasto destro (2)
- how to display a block on click of link using javascript in a jsp (2)
- right click desable script (2)
- how to disable right click using javascript (2)
- switching off flash right click messages (2)
- disable right click on swf using php script (2)
- JAVASCRIPT BUTTON 2 DISABLE (1)
- javascript disable copy paste without message (1)
- javascript disable flash context menu (1)
- javascript disable flash right click (1)
- how to disable rightclickmenu in webpage (1)
- javascript disable right button menu (1)
- how to disable rightclick in jsp using script (1)
- javascript disable right click firefox (1)
- java script right click event message show (1)
- java script in jsp for disabling right click (1)
- how to hide right click menu using javascript in firefox (1)
- how to restrict copy and paste using javascript in jsp (1)
- how to stop right click in jsp (1)
- how to hide right click menu flash using javascript (1)
- how to stop right click on jsp (1)
You will also be interested in ,
- Get browser window size using javascript
- LED Display or Scrolling text using javascript
- Jquery Basics, How to use jquery?
- Simple Javascript Clock
- Give a welcome alert message to your visitors using javascript
- Context Right Click Menu Using Javascript
- Encode and Decode Strings using javascript.
- Close Event In Javascript Using OnUnload()
- Dynamically Changing hyperlink color on a website using javascript
- Words Validation with Javascript

How to make this work for FF?
Hello,
This will work fine both in IE and FF…please test it once..thanks….OR get back with your concerns…..