Aug 22

Want to prevent your user from performing any of the other commands available by right-clicking on a Web page in Internet Explorer? It’s not foolproof, but this neat little HTML edit usually does the trick.
Just alter the opening <body> tag of your HTML to the following:

<body oncontextmenu="return false">

When the menu is requested, the oncontextmenu event runs, and we instantly cancel it using JavaScript. This is especially potent as a method for stopping the user from viewing your source, when used in conjunction with a menu-less browser window. Great stuff!

Aug 22

Create a style sheet for printing purpose, normally by removing/hiding background
colors, images…. After that include it with media=”print”, so that this style sheet
will be applied while printing.
<LINK media=”print” href=”styles/printStyle.css” type=”text/css”
rel=”stylesheet”>