[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

Compress Javascript @ ScriptCompress.com

0ntariokingston

11/5/2014 7:34:00 PM

I made a javascript minifier, obfuscator, packer, compressor and error checker tool on www.ScriptCompress.com and I hope you get some use out of all my hard work...
14 Answers

Thomas 'PointedEars' Lahn

11/5/2014 7:59:00 PM

0

Christian White wrote:

> I made a javascript minifier, obfuscator, packer, compressor and error
> checker tool on www.ScriptCompress.com and I hope you get some use out of
> all my hard work...

Since you are only about the 42nd person reinventing this wheel, you should
state here what makes your application superior to the about 41 existing
ones (not that I doubt the possibility in general).

BTW, there is no â??Javascriptâ? or â??javascriptâ?. Since you are obviously not
in the bad habit of writing in all-lowercase, those spellings do not bode
well for the quality of your application. See the ES Matrix (sig) for
details.

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

0ntariokingston

11/5/2014 8:39:00 PM

0

www.ScriptCompress.com works by making a wordlist from your script. It then rids of the duplicates. It now assigns an unused character to repeated words. Now you might get say word Document replaced numerous times, each time with one character, eventually the byte savings add up to make up for the 250 byte unpacker. It does not rely at all on Base62 for compression, but it's included as an obfuscation selection.

My packer is really 12 packers mixed into one tool. Some obfuscate, some compress (LZMA & BZip), some just aren't necessary.

Cezary Tomczyk

11/6/2014 2:08:00 PM

0

On 2014-11-05 21:39, Christian White wrote:
> www.ScriptCompress.com works by making a wordlist from your script. It then rids of the duplicates. It now assigns an unused character to repeated words. Now you might get say word Document replaced numerous times, each time with one character, eventually the byte savings add up to make up for the 250 byte unpacker. It does not rely at all on Base62 for compression, but it's included as an obfuscation selection.
>
> My packer is really 12 packers mixed into one tool. Some obfuscate, some compress (LZMA & BZip), some just aren't necessary.

Maybe it's worth it to prepare npm package for Grunt.

--
Cezary Tomczyk
http://www.ct...

0ntariokingston

11/6/2014 5:57:00 PM

0

Appreciate the vote of confidence. I am hoping it is worthwhile enough to go that step. I believe I got a half decent web application for compressing, minifying, obfuscating and packing.

My tests conclude that www.scriptcompress.com gets better results than http://dean.edwards.na... as my tool doesn't break as many scripts (AST decompiled and recompiled to fix errors), in fact it debugs & fixes them!

My tests also conclude that I get more bytes knocked off, even when Dean's packer inflates, I usually still get deflated results!

0ntariokingston

11/7/2014 6:18:00 PM

0

Just added password protection to the JavaScript packer on www.scriptcompress.com, but it's not encrypted yet (relies on basic obfuscation). What encryption can someone suggest that has a small (bytes) decoder that can be packed in with script?

stephencarmody

11/19/2014 12:09:00 PM

0

On Thursday, 6 November 2014 06:34:04 UTC+11, Chris White wrote:
> I made a javascript minifier, obfuscator, packer, compressor and error checker tool on www.ScriptCompress.com and I hope you get some use out of all my hard work...

I'm really interested in how the "WHAM" compression works. Could you share the code that does that?

It dropped my closure compiler advanced compressed app of 20KB down to 10KB.

0ntariokingston

11/20/2014 9:16:00 PM

0

On Wednesday, November 5, 2014 2:34:04 PM UTC-5, Chris White wrote:
> I made a javascript minifier, obfuscator, packer, compressor and error checker tool on www.ScriptCompress.com and I hope you get some use out of all my hard work...

I am working on a JavaScript addon type thing that will auto minify any page's HTML it's in before it sends it self out, it will have less features (no extreme obfuscating or extreme compression), based on this 38KB demo: http://www.scriptcompress.com/JavaScript-P...

0ntariokingston

12/15/2014 11:52:00 PM

0

http://www.scriptcompress.com/JavaScript-Comp... is an updated JavaScript packer version that gets even smaller results...

On Wednesday, November 5, 2014 2:34:04 PM UTC-5, Chris White wrote:
> I made a javascript minifier, obfuscator, packer, compressor and error checker tool on www.ScriptCompress.com and I hope you get some use out of all my hard work...

0ntariokingston

12/26/2014 2:42:00 AM

0

On Wednesday, November 5, 2014 2:34:04 PM UTC-5, Chris White wrote:
> I made a javascript minifier, obfuscator, packer, compressor and error checker tool on www.ScriptCompress.com and I hope you get some use out of all my hard work...

Another version/remake of my JavaScript packer on http://www.scriptcompress.com/JavaScript-Packe...

I am making more than one version because some algorithms may work better on compressing JavaScript. I am already working on a newer and simpler version (should be much faster).

Christoph M. Becker

12/26/2014 3:19:00 AM

0

Chris White wrote:

> On Wednesday, November 5, 2014 2:34:04 PM UTC-5, Chris White wrote:
>> I made a javascript minifier, obfuscator, packer, compressor and
>> error checker tool on www.ScriptCompress.com and I hope you get
>> some use out of all my hard work...
>
> I am working on a JavaScript addon type thing that will auto minify
> any page's HTML it's in before it sends it self out, it will have
> less features (no extreme obfuscating or extreme compression), based
> on this 38KB demo:
> http://www.scriptcompress.com/JavaScript-P...

You shouldn't work so hard on something that hardly works by design.

Anyway, as it is apparently futile to use "Complaints-To:
groups-abuse@google.com", I have augmented my personal killfile: *plonk*

--
Christoph M. Becker