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


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

Compress Javascript @ ScriptCompress.com

Started byChristian White <0ntariokingston@gmail.com>
First post2014-11-05 11:33 -0800
Last post2014-12-27 10:39 -0800
Articles 15 — 7 participants

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


Contents

  Compress Javascript @ ScriptCompress.com Christian White <0ntariokingston@gmail.com> - 2014-11-05 11:33 -0800
    Re: Compress Javascript @ ScriptCompress.com Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-05 20:59 +0100
    Re: Compress Javascript @ ScriptCompress.com Christian White <0ntariokingston@gmail.com> - 2014-11-05 12:39 -0800
      Re: Compress Javascript @ ScriptCompress.com Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2014-11-06 15:08 +0100
    Re: Compress Javascript @ ScriptCompress.com Christian White <0ntariokingston@gmail.com> - 2014-11-06 09:57 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-11-07 10:18 -0800
    Re: Compress Javascript @ ScriptCompress.com stephencarmody@gmail.com - 2014-11-19 04:09 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-11-20 13:15 -0800
      Re: Compress Javascript @ ScriptCompress.com "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-26 04:18 +0100
        Re: Compress Javascript @ ScriptCompress.com JJ <jj4public@vfemail.net> - 2014-12-26 18:41 +0700
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-12-15 15:51 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-12-25 18:41 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-12-25 20:29 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-12-25 20:32 -0800
    Re: Compress Javascript @ ScriptCompress.com Chris White <0ntariokingston@gmail.com> - 2014-12-27 10:39 -0800

#26083 — Compress Javascript @ ScriptCompress.com

FromChristian White <0ntariokingston@gmail.com>
Date2014-11-05 11:33 -0800
SubjectCompress Javascript @ ScriptCompress.com
Message-ID<a3bc2af1-8cac-4038-b750-804ea1935164@googlegroups.com>
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...

[toc] | [next] | [standalone]


#26084

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2014-11-05 20:59 +0100
Message-ID<1493433.OoEmmWshsX@PointedEars.de>
In reply to#26083
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.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] | [next] | [standalone]


#26085

FromChristian White <0ntariokingston@gmail.com>
Date2014-11-05 12:39 -0800
Message-ID<aced56fe-f6c6-4811-a4bd-d5f8c8ab3342@googlegroups.com>
In reply to#26083
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.

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


#26087

FromCezary Tomczyk <cezary.tomczyk@gmail.com>
Date2014-11-06 15:08 +0100
Message-ID<8869d$545b80cc$6def49d5$13653@nntpswitch.blueworldhosting.com>
In reply to#26085
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.ctomczyk.pl/

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


#26088

FromChristian White <0ntariokingston@gmail.com>
Date2014-11-06 09:57 -0800
Message-ID<f0ae4ec3-7a92-4535-b179-3831463a89a5@googlegroups.com>
In reply to#26083
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.name/packer/ 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!

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


#26096

FromChris White <0ntariokingston@gmail.com>
Date2014-11-07 10:18 -0800
Message-ID<3f37ca21-8f66-4c2a-babc-83f668abb99f@googlegroups.com>
In reply to#26083
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?

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


#26160

Fromstephencarmody@gmail.com
Date2014-11-19 04:09 -0800
Message-ID<387831b0-2557-47dd-ba76-8457d62216be@googlegroups.com>
In reply to#26083
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.

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


#26181

FromChris White <0ntariokingston@gmail.com>
Date2014-11-20 13:15 -0800
Message-ID<e4e62687-20e1-4be6-957d-26f456d4445b@googlegroups.com>
In reply to#26083
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-Packer.svgz

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


#26383

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2014-12-26 04:18 +0100
Message-ID<m7ik25$j76$1@solani.org>
In reply to#26181
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-Packer.svgz

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

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


#26387

FromJJ <jj4public@vfemail.net>
Date2014-12-26 18:41 +0700
Message-ID<ye1bobta4nfa$.ga6gd28hmtp4.dlg@40tude.net>
In reply to#26383
On Fri, 26 Dec 2014 04:18:40 +0100, Christoph M. Becker wrote:
> 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-Packer.svgz
> 
> 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*

Blocking the site would make additional assurance for protection - in case
other site actually use it.

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


#26330

FromChris White <0ntariokingston@gmail.com>
Date2014-12-15 15:51 -0800
Message-ID<7d02cc7b-01fa-4ed0-968a-83c334b3a130@googlegroups.com>
In reply to#26083
http://www.scriptcompress.com/JavaScript-Compressor.htm 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...

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


#26382

FromChris White <0ntariokingston@gmail.com>
Date2014-12-25 18:41 -0800
Message-ID<da064227-f4d0-4640-9ce0-64dfb2210c47@googlegroups.com>
In reply to#26083
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-Packer-2015.htm

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).

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


#26384

FromChris White <0ntariokingston@gmail.com>
Date2014-12-25 20:29 -0800
Message-ID<b95e4e66-e18e-453b-ba9b-c9704b0215dd@googlegroups.com>
In reply to#26083
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...

Thanks for your awesome inspiration :)

Merry Christmas to you and your loved ones!

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


#26385

FromChris White <0ntariokingston@gmail.com>
Date2014-12-25 20:32 -0800
Message-ID<23bbba74-c147-4654-8032-31b8852ad7de@googlegroups.com>
In reply to#26083
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...

They told Bill Gates not to bother too...  www.ScriptCompress.com I will persist to make progress, sorry to disappoint everyone...

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


#26388

FromChris White <0ntariokingston@gmail.com>
Date2014-12-27 10:39 -0800
Message-ID<4f261d2e-aee4-4918-9d20-bb3c794afdeb@googlegroups.com>
In reply to#26083
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 will make it so only the domain requested is the only domain the JavaScript will run that was created from  www.ScriptCompress.com 

Thanks for the good idea JJ

[toc] | [prev] | [standalone]


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


csiph-web