Re: Obfuscator

  •  10-01-2007, 4:48 PM

    Re: Obfuscator

    Actually, I wasn't looking for encoding. I don't need to go that far (and it's fairly easily decoded anyway). 
    I was looking for the obfuscator you use in the various .js files shipped with CuteEditor which simply substitutes function params and scrunches up the code to remove blanks, etc. Something simple like that would be great for us.
     
    You know, this kind of thing:
     
    var OxO1d89=["\x0D\x0A","document","length","element \x27","\x27 not found","removeNode","parentNode","firstChild","selection","type","None","Control","text","body","","\x26amp;","\x26lt;","\x26gt;","\x26#39;","\x26quot;","\x3Cbr/\x3E","\x26nbsp;","applyElement","nodeName","INPUT","TEXTAREA","BUTTON","IMG","SELECT","TABLE","position","style","absolute","relative","|H1|H2|H3|H4|H5|H6|P|PRE|LI|TD|DIV|BLOCKQUOTE|DT|DD|TABLE|HR|IMG|","|","all","nodeType","value","textContent","childNodes","nodeValue","*","rowSpan","cellIndex","colSpan","Can\x27t Get The Position ?","Map","RowCount","ColCount","rows","cells","Unknown Error , pos ",":"," already have cell","Unknown Error , Unable to find bestpos","rowIndex","nextSibling","srcElement","target","//TODO: srcElement not found? throw error ?","fromElement","relatedTarget","toElement","keyCode","clientX","clientY","offsetX","offsetY","button","ctrlKey","altKey","shiftKey","mergeAttributes","//TODO:Element_MergeAttributes","SPAN","span","\x3Cspan id=","\x3E\x3C/span\x3E","undefined","Microsoft.XMLHTTP"," unknown code ","caller","?","contentWindow","contentDocument","parentWindow","id","frames","frameElement","//TODO:frame contentWindow not found?","styleFloat","float","-","cssText","__proxy","__styles",";","Unknow style item :","compatMode","CSS1Compat","clientHeight","documentElement","clientWidth","Text","htmlText","onchange","oninitialized","command","commandui","commandvalue","returnValue","oncommand","string","event","_fireEventFunction","#0","#1","#2","#3","#4","#5","#6","#7","#8","#9","#a","\x3C","\x3E","\x26","o","O","s","S","e","E","#","\x0A$\x26","$\x26\x0A","\x0A$\x26\x0A","    ","\x0A","P","contains","preventDefault","arguments","//TODO: event not found? throw error ?","cancelBubble","stopPropagation","__cuteedi
     
    Thanks
    FredD
View Complete Thread