Posts

Showing posts from November 13, 2009

How to enable right click on site that is disabled

In Fierfox Got to the menu bar, click on Tool menu and go to the "Option" and click here. Click on "content" . Click on "advanced" button. Uncheck the "Disable or replace context menus". Refresh the page , right click will work. In Internet Explorer   Go to "Internet Options"    Click the "Security" tab Click "Custom Level"   S croll down to the "Scripting" section   Set "Active Scripting" to "disable"   Click "Ok" a couple of times.

How to disable the right click

<html> <head> <script> var isNS = (navigator.appName == "Netscape") ? 1 : 0; if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP); function mischandler(){ return false; } function mousehandler(e){ var myevent = (isNS) ? e : event; var eventbutton = (isNS) ? myevent.which : myevent.button; if((eventbutton==2)||(eventbutton==3)) return false; } document.oncontextmenu = mischandler; document.onmousedown = mousehandler; document.onmouseup = mousehandler; </script> </head> <body></body> </html>