Examples

Here you can compare scripts before and after optimization with TrickyScripter.

Example #1
Big Integers in JavaScript
Before After
BigInt.js - 43326 bytes

Run example
BigInt.js - 13767 bytes

Run example

Example #2
Pick'Em Game
Before After
controls.js - 24394 bytes
dragdrop.js - 17953 bytes
effects.js - 23948 bytes
prototype.js - 32902 bytes
scriptaculous.js - 986 bytes
util.js - 13703 bytes

Run example
controls.js - 13128 bytes
dragdrop.js - 9789 bytes
effects.js - 14223 bytes
prototype.js - 19546 bytes
scriptaculous.js - 663 bytes
util.js - 7953 bytes

Run example

Example #3
Holdem Odds - Texas Holdem Odds Calculator
Before After
ajax.js - 2675 bytes
builder.js - 3361 bytes
cards.js - 220 bytes
controls.js - 25519 bytes
dragdrop.js - 18709 bytes
effects.js - 30257 bytes
prototype.js - 47155 bytes
scriptaculous.js - 2206 bytes
slider.js - 10752 bytes

Run example
ajax.js - 1587 bytes
builder.js - 1511 bytes
cards.js - 168 bytes
controls.js - 14777 bytes
dragdrop.js - 11058 bytes
effects.js - 21167 bytes
prototype.js - 28062 bytes
scriptaculous.js - 704 bytes
slider.js - 5966 bytes

Run example

Example #4
DHTML: Draw Line, Ellipse, Oval, Circle, Polyline, Polygon, Triangle with JavaScript
Before After
walterzorn.js - 390 bytes wz_jsgraphics.js - 19329 bytes

Run example
walterzorn.js - 390 bytes wz_jsgraphics.js - 10801 bytes

Run example