HTML Obfuscator?

by Ian Sanders

HTML

<textarea id="entry" style="height:250px;width:450px;" ></textarea><div id="output"></div><input type="button" onClick="remove()" value="Click Me!">

JavaScript

function remove() {
    var text = document.getElementById('entry').value;
    text = text.replace(/(\r\n|\n|\r)/gm,"");
    text = text.replace(/\s+/g," ");
    text = text.replace(" = '","='");
    text = text.replace("block","inline");
    document.getElementById('entry').value = text;
    document.getElementById('output').innerHTML = text;
}