JavaScriptStrip
Home and Help

miniAPPolis.com Home  |  JavaScriptStrip Home Page  |  Feedback to Developer


Purpose
JavaScriptStrip is a fast, compact (31k) Windows 32 Utility for JavaScript to make  scripts loaded with the tag <script type ="text/JavaScript" src="MyFile.js"> more compact by removing comments, unnecessary blanks, and line feeds from script source code. It also replaces variable names with randomly generated "aliases". The compaction afforded by stripping "white space" and scrunching variable names can result in 25%-40% file size reduction. In addition, with all the code on a single line and with meaningless variable names, your code becomes much less accessible to potential imitators. 
Caveats
Use
In Windows Explorer, drag and drop the icon of the file(s) to be stripped onto JavaScriptStrip's icon. Alternatively you can copy a shortcut to JavaScriptStrip.exe into the C:\Windows\SendTo folder. Then when you select the files to be stripped, right-click in the Explorer window and choose "SendTo JavaScriptStrip." Advantage: this approach makes JavaScriptStrip available from any folder. Double-click on the program's icon to see a help and copyright message.
Output
Options
When you drop or send one or more filenames to JavaScriptStrip, a dialog box prompts you for options.  Enter the letters of any options you want and click "OK", or else click "Cancel" to accept the default values.  The option letters may be entered in UPPER or lower case.  Any separators you might enter (space, comma etc.) are ignored. The options are:
Pre-run / Debugging Checklist
Download and Installation
Click either this link for a zip file with the application and this help screen (19k), or else this link for the uncompressed JavaScriptStrip.exe (25k) file. Save JavaScriptStrip.exe to a folder of your choice. In Windows Explorer, right-click on on JavaScriptStrip.exe's icon to create a shortcut to this application. Copy this link to the C:\Windows\SendTo folder to make it available from any folder. To uninstall, delete JavaScriptStrip.exe.

Close Help Window  |  JavaScriptStrip Home Page  |  Feedback to Developer

Freeware ©2001 by William H. Fletcher, fletcher@miniappolis.com
All rights reserved, including those of (re)distribution. Ver. 13 March 2001.
Download and details: http://miniappolis.com/utilities/JavaScriptStrip.html