sanjalee Posted May 12, 2009 Report Share Posted May 12, 2009 Hi, anyone can help ?i want to Block right-Click when some one visit My Website and also don't allow to save the Web Page ,is it possible to do it with Simple HTML code ?any help appreciated , Link to comment
rammass18 Posted June 4, 2009 Report Share Posted June 4, 2009 it's not really possible just through html, you'll need javascript. Link to comment
albanjoe Posted June 18, 2009 Report Share Posted June 18, 2009 disable right click on the web page using this script....<script language="JavaScript1.1"> <!-- var debug = true; function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { alert('This Page is fully protected!'); return false; } return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script> Link to comment
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now