![]() Now, you probably have figured out that you could hide an entire HTML page using the above method but there are two disadvantages to doing that: Size and ease of "cracking" your code. Likewise, click the Įscaped Text/HTML/JavaScript ( Select all.) Just type whatever text/HTML/JavaScript you want in the left box and click the -> button to fully escape it. but would look like this to a two textboxes below will let you fully escape and unescape any text you want. Since the browser can inherently handle escape codes, this can be used pretty easily without having to add any more script to decipher them. Now, none of the text is easily decipherable even though most of it was made up of normal characters. So, if you were to fully escape the words page one, it would look like: %70%61%67%65%20%6F%6E%65. Normally, you would only escape special characters (generally any character other than a-z, A-Z, and 0-9), but the script below actually escapes all the text simply by replacing all characters with their escaped equivalents. The %20 is the escaped value for a space. This is used primarily in browser URLs or for use when making cookies for characters that otherwise would not work, usually because they are reserved characters (like spaces and the like).įor example, if you had an HTML filename of page one, the escaped URL code would look like page%20one. URL Escape Codes are two-character Hexadecimal (8-bit) values preceeded by a % sign. The first section of this page explains how to "escape" any text, HTML, or Javascript to make it generally unreadable to the common user. So, take a seat and I'll do my best to make this seem as un-complicated as possible. You don't really have to know the ins-and-outs of these scripts, but it does help you understand how and why they work. Due to the nature of how these scripts work, the explanation may seem complicated and drawn out, but be patient and it should make sense once you gain a little experience with them. It is not foolproof, but it does make it more difficult to read and understand the source code. These scripts are intended to explain how to "hide" HTML and/or javascript from other people who view your page's source code. HTML/text/JavaSript Escaping/Encoding Script ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |