How do I encrypt or encode a string?

O

ok

I think my last question was not clear, so people gave me the reverse
answer.

I want to put a string in an html file, and human eyes or robots will not be
able to read it.

For example I want to turn this one
<a href="#" onclick="this.href='http://www.google.com'">click here</a>
into
<a href="#" onclick="this.href=' encoded of h encoded of t encoded of t
encoded of p encoded of :
encoded of : encoded of / '">click here</a>

I prefer bit OR, the ^ opertaion, but ASCII is fine with me, like %40%xx%xx

This plus disable right click will make search engines and view source
difficult but still possible to know where it is linked too,
 
F

Fred Oz

ok said:
I think my last question was not clear, so people gave me the reverse
answer.

I want to put a string in an html file, and human eyes or robots will not be
able to read it.

Last response was "Google javascript encode", so I did. The very first
hit was:

http://scriptasylum.com/tutorials/encdec/encode-decode.html

"These scripts are intended to explain how to "hide" HTML and/or
javascript from other people who view your page's source code. It is not
foolproof, but it does make it more difficult to read and understand the
source code. "

That is what you want to do, isn't it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top