Software - JavaScript Encoding
Example:
To see an example of encoded content in action, click here; when prompted, the
correct password is "Calico".
Instructions:
- Choose a password or pass-phrase, and type it into the "Password" box below.
- Paste the section of html that you wish to encode into the "Page Body" box below. Remember, that
you can encode the entire body of a page, or just a portion - it's your choice.
- Click the "Encode Selection!" link, and the encoded JavaScript will appear in the "Encoded Page"
box below.
- Copy the entire piece of code from the "Encoded Page" box and paste it into the <head> section
or your real page.
- Somewhere in your real page (either in the <body> onload event, or just in-line somewhere in the
body of the page) make a call to the decodePage() JavaScript function. No function parameters are necessary.