No Print Scriptby: Ades TynyshevNo Print Script Sometimes you might want to protect your online documents from printing. So in that case this little simple script might help. Please note that putting this script does not secure your document, users will still be able to 'copy it and paste it' in the word document and still be able to print it, if you want to secure your document you need other scripts that disable selecting or saving the page..etc.
Put the above script between the <head> </head> tags in your page. It will make your page empty when it is printed. The code is fairly simple to understand, however let's go through one line at a time. Sets the body of the page to blank when the page is printed. © 2008 NetVisits, Inc. All rights reserved. |