In a nutshell, Liame takes the arguments specified by the user and constructs a complete HTML
<a href="mailto:...">
tag. This tag is encoded using one of the available algorithms, and then it generates the javascript functions that writes the decoded link into the page. Liame supports four algorithms out of the box:- ROT(N) encoding, where N is a random number choosen at runtime
- Base64 encoding
- Hexadecimal encoding, that converts the tag in a sequence of hexadecimal character codes
- Null encoding, which was used for testing and as starting point to develop new algorithms.
Yes but... what happens if the user has disabled javascript? The control can also generate a
<noscript>
tag including some known CSS obfuscation techniques, such as inserting invisible tags or changing the text direction of the email address. In this case, the email will be shown without the mailto:
link.To use Liame in your developments, you have to download it from Google Code, and add a reference to the assembly Liame.dll in your project. You could also insert the component in your Visual Studio's toolbar, so you'll be able to drag and drop the control into your page or masterpage.
But wait, that's not all. Using Liame's technology it is possible to generate javascript code ready to use in your pages, regardless of the server language or development platform. So you can enjoy Liame obfuscation with HTML, PHP, Java and so on, just using the Liame javascript on-line generator. It'll help you to generate code that you can copy and paste into your page, like the following example, which renders a
mailto
link:The ASP.NET server control, as well as a demonstration project, is released under a BSD license. You can download the code at the project's home, in Google Code.
Please, feel free to send me your comments, suggestions, opinions or new ideas to get a more effective obfuscation.
Welcome to Liame.