One way spammers get your email address is with programs written to extract addresses from web pages. These robots, as they are called, look for mailto: links in the body of web pages. A good way to protect your email address from spammer lists created in this way is keep your email address off web pages. But what if you want people to have your links to your email address? This script, SafeMail, solves the problem. SafeMail lets you put your address on the page using javascript's document.write method. With this, your user's browser displays your email link exactly as if you had coded it with HTML, except you can achieve this effect without at any point putting the string of your email address in the code. This means spambots find nothing, and you stay clear of spam.
This short JavaScript will allow you to disable the right-clicking on the mouse, useful for preventing users from copying the content on your page, etc.
This is a little JavaScript crypto library that contains implementations of ARCFOUR stream cipher, SHA-1 hash algorithm, CRC-32 check sum counter and other useful tools for securely password protecting web documents.
Using a mixture of DHTML, and JavaScript 1.2, this Script disables the right click, middle click, and menu key for being used on the applied page (Only works in IE 5.0 or higher and Netscape 4.0 or higher).
Password protect html/javascript pages. The page is encrypted and the decryption code itself is hidden so virtually nothing can be seen in the clear in Netscape or Internet Explorer. It is very simple to use (no cutting/pasting or separate generation step
This JavaScript library provides encryption for Web pages using simple, text-oriented method called column transposition. The idea is to write the plain text in block on the row-first bases. The text is then read column-first. The trick is in that the columns are not read from left to right, but in the order specified by the encryption key. Simple transliteration is applied before encryption, allso. If one is not concerned with goverement spying on them, this method may provide enough secrecy. Ideas on how to use it: encrypt address book of the high school friends or save client-side cookies encrypted with users password.