Help and tips

How to optimize and obfuscate script?
  1. Open the script
  2. Right-click the code
  3. Select "Script optimizer -> Optimize/obfuscate"
  4. Read optimization report
  5. Done! Script is optimized now
How to optimize and obfuscate selected code?
  1. Open the script or web-page
  2. Select one or more functions
  3. Right-click selected code
  4. Choose "Script optimizer -> Optimize/obfuscate selected"
  5. Read optimization report
  6. Done! Selected code is optimized
How about useful advices?
  • Always backup your scripts before optimization/obfuscation.
    Remember: nobody can de-obfuscate obfuscated script, even author of TrickyScripter
  • Always test your scripts before and after optimization.
  • Don't try to optimize broken scripts.
  • Don't include HTML comments before (<!--) and after (-->) code in your scripts.
  • Carefully select code when optimizing part of code.
    Selected code must include the same number of open and closed brackets, quotes etc.
  • It is recommended to select whole functions, not just parts of code.
  • Minimize use of eval(), setTimeout(), setInterval() and conditional compilation instructions in functions.
  • Try to use less global code and more functions. Only local variables can be obfuscated.
  • Use Unix like line breaks and save 1 byte per code line!
    To configure Dreamweaver properly: Edit --> Preferences... --> Code Format --> Line break type --> LF (Unix)
ariables can be obfuscated.