I am not going to have the "obfuscation can be successful" argument.
It's old news and not worth rehashing. It comes up about every year or
so when somebody new writes an obfuscater and wants to advertise it to
make money.
It is almost 100% true. I saw many many code crunchers, compressors,
optimizers etc.
w3compiler, jasob, Packer, jsmin, HTMLZip, HTMLCompact, the list can be
really long.
I've tried EVERY one. I just was needed to make some script smaller.
But all that stuff somtimes break the code or need time for
decompression (like HTMLZip). I've considered to write tool for myself.
It was a long way, but now it seems to be best and only one optimizer
which uses proper principles. It uses code modeling and can
automaticaly determine many things. There is no settings at all! Then I
considered to make it public.
About many money and ads. Maybe you noticed that every one can use my
tool completaly for free - trial version is fully functional and have
*no time limit*. Paying for it is a kind of donation.
>Try http://trickyscripter.com to see what I mean.
And then come back and ask why it doesn't work.
Please tell my why it doesn't work?! :)
First, the errors on the page. After a script error, anything that
happens after that is pure guess work.
Sidenote: That little gold box doesn't line up properly onmouseover in IE7.
I've fixed several bugs already. Maybe there is still any bugs. But if
anybody (and even not my customer who have tech support) reports a bug
I fix it quickly. With help of some sceptic people I've found several
errors, now it works much better and that sceptic guys are not so
sceptic now.
If some script in "examples" alerts error try to run original
non-optimized version - it will alert exactly the same error. Script
works exactly the same before and after obfuscation and it is normal.
If there was errors befor obfuscation then the same errors will be
after obfuscation.
If there is really something wrong with IE7 after obfuscation and OK
before - please describe it more detailed.
You really find any bug or just want to talk?
Depends on what you call a bug. It took me less than 10 minutes to get
valid, readable, comprehensible code from any of the examples. Thats not
a true bug but when a product doesn't do what it advertises, thats a bug
to me.
The real purporse of TrickyScripter is to make scripts significaly
smaller. And it must not affect HTTP compression. The obfuscation is a
side effect. At the moment it is more effective than any other similar
tool. If not let me know.
Actually I do belive that you can restore *formatting* and make code
readable (there is tons of tools for this purporse). But I don't belive
that you can fasr get an clear understanding how each function work
because all functions have similar variables names: i,I,o,O etc. If we
have many functions in one bigger functions (this approach now used
relatively frequently) then even the inner functions will be renamed!
It is not quickly manage with code like this, but sure it is posible.
There is nothing impossible in the world ;) Any crypt can by decrypted
and any obfuscation can be deobfuscated. But peple still encrypt and
obfuscate, isn't it?
Although I did find the Texas Holdem Odds Calculator neat but it is
extremely bloated for everything it uses to do it.
All scripts used in my examples are written by different people. It was
not important for my how script works and what it is doing - important
was only size of scripts. I can put any script to examples, and if you
want to see something cool there - just give me the URL ;)
I'm always open for dialogue and I it is always interestiong to know
what other people think.
Val