Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26020 > unrolled thread

New Javascript Packer To Obfuscate Shrink Compress & Minify

Started by0ntariokingston@gmail.com
First post2014-10-29 01:41 -0700
Last post2014-11-07 18:52 +0100
Articles 7 — 5 participants

Back to article view | Back to comp.lang.javascript


Contents

  New Javascript Packer To Obfuscate Shrink Compress & Minify 0ntariokingston@gmail.com - 2014-10-29 01:41 -0700
    Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-29 15:55 +0000
      Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Chris White <0ntariokingston@gmail.com> - 2014-11-23 16:42 -0800
      Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Chris White <0ntariokingston@gmail.com> - 2014-11-27 03:25 -0800
      Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Chris White <0ntariokingston@gmail.com> - 2014-11-28 15:27 -0800
    Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Christian White <0ntariokingston@gmail.com> - 2014-11-07 09:18 -0800
      Re: New Javascript Packer To Obfuscate Shrink Compress & Minify Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-07 18:52 +0100

#26020 — New Javascript Packer To Obfuscate Shrink Compress & Minify

From0ntariokingston@gmail.com
Date2014-10-29 01:41 -0700
SubjectNew Javascript Packer To Obfuscate Shrink Compress & Minify
Message-ID<f3e3bc70-9bb5-4f36-a877-f3afaaa6d560@googlegroups.com>
I made http://whak.com/packer/ and it seems to make scripts smaller than the competition. Please report issues at the bottom of page...

It will parse and recompile your script, so minor errors (like missing semi colons at end of lines) are automatically fixed.

www.make-a-meme.com

[toc] | [next] | [standalone]


#26025

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2014-10-29 15:55 +0000
Message-ID<m2r2lu$12h$1@dont-email.me>
In reply to#26020
On Wed, 29 Oct 2014 01:41:21 -0700, 0ntariokingston wrote:

> It will parse and recompile your script, so minor errors (like missing
> semi colons at end of lines) are automatically fixed.

When you say "parse and recompile", what exactly do you mean?

Before using any sort of minifier, it is always a good idea to make sure 
that your script is working correctly anyway. Anyone relying on the 
minifier to correct syntax errors is a complete idiot.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#26199

FromChris White <0ntariokingston@gmail.com>
Date2014-11-23 16:42 -0800
Message-ID<01d38f98-7039-4b72-9395-94f92c5fc5d7@googlegroups.com>
In reply to#26025
http://www.scriptcompress.com/WHAK-PAK.htm is a complete remake that rids of the bloating obfuscators

[toc] | [prev] | [next] | [standalone]


#26221

FromChris White <0ntariokingston@gmail.com>
Date2014-11-27 03:25 -0800
Message-ID<58cfc434-58b8-483b-bd74-2aa7a78a5995@googlegroups.com>
In reply to#26025
On Wednesday, October 29, 2014 11:55:54 AM UTC-4, Denis McMahon wrote:
> On Wed, 29 Oct 2014 01:41:21 -0700, 0ntariokingston wrote:
> 
> > It will parse and recompile your script, so minor errors (like missing
> > semi colons at end of lines) are automatically fixed.
> 
> When you say "parse and recompile", what exactly do you mean?
> 
> Before using any sort of minifier, it is always a good idea to make sure 
> that your script is working correctly anyway. Anyone relying on the 
> minifier to correct syntax errors is a complete idiot.
> 
> -- 
> Denis McMahon, denismfmcmahon@gmail.com

http://www.scriptcompress.com/extreme.htm is an extreme version for smaller scripts. It achieves better compression, but only intended for scripts 2KB and under. I being a complete idiot rely on the built in parser to fix errors (even the sample has errors on purpose).

[toc] | [prev] | [next] | [standalone]


#26247

FromChris White <0ntariokingston@gmail.com>
Date2014-11-28 15:27 -0800
Message-ID<d7f438b0-3843-485c-a141-255c699a5c7b@googlegroups.com>
In reply to#26025
scriptcompress.com does everything listed on http://en.wikipedia.org/wiki/Minification_(programming)

JavaScript optimizers such as JSMin[1] and Packer[2] are specially designed for modern web programming techniques, and are able to understand and preserve conditional comments, and similar. Packer, for instance, can optionally Base64 compress the given source code in a manner that can be decompressed by regular web browsers, as well as shrink variable names that are typically 5-10 characters to single letters, which reduces the file size of the script and, therefore, makes it download faster.[3] Google has released their Closure Compiler, which also provides minification as well as the ability to introduce more aggressive renaming, removing dead code, and providing function inlining.[4] In addition, certain online tools, such as Microsoft Ajax Minifier,[5] the Yahoo! YUI Compressor or Pretty Diff,[6] can compress CSS files.[citation needed] There is a PowerShell script named "minifyPS"[7] that is able to shrink PowerShell script code as well as JavaScript code. There is a free online tool that can minify JS[8] with UglifyJS and has the ability to combine multiple files at BlimptonTech.com.[9]

[toc] | [prev] | [next] | [standalone]


#26093

FromChristian White <0ntariokingston@gmail.com>
Date2014-11-07 09:18 -0800
Message-ID<43a45006-20c3-475c-8b44-baaadaa762f6@googlegroups.com>
In reply to#26020
Wow Denis. So often I will forget a simple semicolon at the end of a line. With multi lined scripts it is fine, but now we make the script all one line, its an error. I GUESS I AM A COMPLETE IDIOT, probably too stupid to carry on conversing with you...

[toc] | [prev] | [next] | [standalone]


#26094

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2014-11-07 18:52 +0100
Message-ID<3051979.Cl0yiWTBhH@PointedEars.de>
In reply to#26093
Christian White wrote:

> Wow Denis. So often I will forget a simple semicolon at the end of a line.
> With multi lined scripts it is fine, but now we make the script all one
> line, its an error. I GUESS I AM A COMPLETE IDIOT, probably too stupid to
> carry on conversing with you...

OK, you are asking for it:

You are stupid enough

- to use the borken Google Groups Web interface to Usenet, producing lines
  of 200 characters and more;

- to produce new threads as if you changed shirts (for which, partially,
  your choice of posting agent is to blame), giving the impression that
  you are actually out to advertize, not discuss, your software;

- to continue to not quote anything that you are referring to, despite
  examples to the contrary given to you before;

- to use all-caps for emphasis;

- to not read the newsgroup before you first posted here;

- to not read one of the FAQs of this newsgroup in which most of the above
  is explained.


HTH

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web