Mangle is a python script that converts html code into mangled javascript. It’s mostly used to prevent spam harvesters from getting your mail id, though it can be used in any instance where you want to hide your content in the code.

Mangle is a command-line program, it accepts a single argument which is the code to be mangled, and outputs the complete javascript code that you should paste where you want the text to appear. Note that mangle makes it very hard for a spammer to harvest your mail, but with a javascript capable mail-harvester, this method fails.

This is inspired by one of the methods in the Hiveware Enkoder since the offline solution provided by the site is way out-of-date.

Download: [Python script, Windows .ZIP]

Leave a Reply

Create a website or blog at