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 Comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s