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 (67)
- disable right click in jsp (6)
- how to disable right click on jsp (4)
- disabling right click in jsp (3)
- disable right click to show in flash (2)
- disable right click on swf using php script (2)
- Menu loading using jquery and javascript in jsp (2)
- disable right click on flash dom (2)
- disable right click jsp (2)
- javascript to show alert message on right click (2)
- jquery disable flash right click (2)
- javascript disable right click prototype (2)
- javascript disable right click on swf file (2)
- how to display a block on click of link using javascript in a jsp (2)
- how to disable flash right click through jquery (2)
- how to disable enable button in HTML using JSP (2)
- how to disable button using javascript in jsp (2)
- how to disable right click using javascript (2)
- how tp disable right click in jsp (2)
- html disable right button firefox with menu (2)
- display context menu next to cursor using javascript in ie9 (2)
- jsp disable context menu (2)
- switching off flash right click messages (2)
- disable copy/paste using javascript in jsp (2)
- right click desable script (2)
- how to disable mouse click on jsp (2)
- actionscript 2 aggiungere o rimuovere a tasto destro (2)
- java script right click event message show (1)
- how to stop right click in jsp (1)
- how to stop right click menu on web page (1)
- how to stop right click on jsp (1)
- stop disable right click javascript ie9 (1)
- right click show message javascript (1)
- right click message javascript (1)
- ie9 disable context menu in javascript (1)
- javascript disable copy paste without message (1)
- if (document layers) window captureEvents(Event MOUSEDOWN) ie9 (1)
- JAVASCRIPT BUTTON 2 DISABLE (1)
- Right Click Menu using javascript using jsp (1)
- irules tutorial f5 (1)
You will also be interested in ,
- Javascript Countdown Script
- Scrolling title bar in browser using javascript
- Capitalize first letter or alphabet of a input field using javascipt
- Random password generator script using javascript
- Insert text and smilies in to textarea using javascript
- Simple div slideshow using jquery
- Close Event In Javascript For Firefox, IE and Chrome
- Replacing images with time intervals using jquery
- Change first letter of each word in a form field from lowercase to uppercase
- Simple message slideshow news ticker using 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…..