Friday, 24 August 2012

How To Hide HTML And JavaScript From Your Blog Visitors

Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.

Some time we create something cool and original and we don't want other peoples to copy that but now it's time to stop that by hiding our javascript and html.....This will convert our code to a language which is very hard to read.

This will convert
<html>
Hey
</head> 
To
%3C%68%74%6D%6C%3E%0A%48%65%79%0A%3C%2F%68%65%61%64%3E 
I'am sure that you can't read this.....so now the question is how to do that.....

  • Now you'll get a code like something like %3C%68%74%6D%6C%3E%0A%48%65%79%0A%3E but bigger than this one.
  • But your browser and blogger will not understand this code so time to see what you have to do now.
<script language="javascript">
document.write( unescape( 'Your Secret HTML Code' ) );
</script>
  • Now just replace Your Secret HTML Code with your code and paste it down on your blog or any other place you want.
That's it!!!
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.
 
Powered by Blogger.