ObfuscateJS is a command line JavaScript obfuscator.. #JavaScript obfuscator #Java libraries #Consyn Framework #ObfuscateJS #JavaScript #Obfuscator
ObfuscateJS is a command line JavaScript obfuscator. ObfuscateJS strips comments and unneeded whitespace, shortens local variable names, and shortens variable names with a given prefix (e.g. "_"). ObfuscateJS can be used for libraries because it preserves the API.
Keeping files small is important for websites. With the hype around AJAX technology, the use of javascript increases and reducing the size of Javascript files becomes important. Besides rendering files unusable an Obfuscator has the effect of greatly reducing the filesize. In need of a good Javascript Obfuscator during the development of the Consyn Framework, 2Vi created a free obfuscator in Java. This project is now named ObfuscateJS.
The obfuscator currently removes whitespace and comments. It renames variablenames with a local scope to a shorter version, And as an advanced option it renames all variables with a certain prefix to a shorter name. In the near future the tool will be extended with even more options to shorten variable names.
An important aspect of ObfuscateJS is that it preserves the API of your scripts. This is important when creating libraries such as the Consyn Framework.
After downloading, in order to apply ObfuscateJS to a file, the following command must be used:
java -jar consyntools.jar Obfuscator {src} {dest} {prefix}
{src} : The sourcefile {dest} : The output file {prefix} : The prefix of variables, which can be renamed without problems In order to explain the 'prefix' option, let's look at the following code: function _debug(){...} ... _debug(); Now if we choose '_' as the prefix, this code will be rewritten as: function _a(){...} ... _a(); This prefix can be ommitted, in this case only local variables are rewritten.
What's New in This Release:
� There were a lot of complaints about renaming variables at the root level, so this is now fixed. � Conditional comments are not removed, in contrast with normal comments.
ObfuscateJS 0.3.5
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- consyntools.jar
- main category:
- Utilities
- developer:
- visit homepage
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
Zoom Client 6.0.0.37205
7-Zip 23.01 / 24.04 Beta
calibre 7.9.0
paint.net 5.0.13 (5.13.8830.42291)
IrfanView 4.67
Bitdefender Antivirus Free 27.0.35.146
ShareX 16.0.1
Windows Sandbox Launcher 1.0.0
- Bitdefender Antivirus Free
- ShareX
- Windows Sandbox Launcher
- Microsoft Teams
- 4k Video Downloader
- Zoom Client
- 7-Zip
- calibre
- paint.net
- IrfanView