New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


FF1+ IE5+

Disable right mouse click script

Author: maXimus | Homepage

Description: This is a cross browser DHTML script that will prevent the default right menu from popping up when the right mouse is clicked on the web page. Use it to stop surfers from easily saving your web page, viewing its source, or lifting images off your site when using either IE 4+ or NS 4+. Definitely useful for many site owners...

Demo: Try right clicking anywhere inside this document!


Directions: Developer's View

Simply add the following code to the <BODY> section of your web page (Press Ctrl C after selecting code to copy it):

Select All