|
Protect
Your Copyrighted Data
©Christine Olinger |
|
Sometimes we, as writers, upload free work for promotional or other reasons, and want our readers to have access to the information. Sometimes we don't. There
are some helpful tips and tricks for writers in these instances.
While certainly not foolproof, these snippets of code make it very
hard for most surfers to steal your data. One code disables right-click
on webpages. The other code disables the clip board, which stops
visitors to your site from copying and pasting, AND from using the
print screen command. Only after the browser they are using has
been shut down and restarted will the clipboard be re-enabled, and
it will re-activate upon return. Copy and paste are enabled on this page, so simply highlight the code below and paste it into your HTML before the </body></html> tags: <script
language=JavaScript> //No
right click script offered by WebSong Designs and Chrissy Olinger var
message=""; document.oncontextmenu=new
Function("return false") <script
type="text/javascript" language="javascript"> //Clipboard
disabler script offered by WebSong Designs and Chrissy Olinger function
do_err() function
no_cp() //--> | |
©Christine Olinger and WebSong Designs