好用的js压缩工具esc

js压缩在高访问量的项目中是很有必要的。以前在网络上找了很多软件,都有这样那样的一些问题,有句话说得好"js压缩没有权威"。但esc确实是一款很不错的工具。

使用方法:

ESC(ECMAScript cruncher)这个工具只能在Windows下使用,ESC.wsf提供5种压缩级别,从0到4:

Level 0 :: No compression 不对JS文件进行压缩

Level 1 :: Comment removal 移除JS文件中的注释

Level 2 :: Whitespace removal 移除JS文件中的注释及空行(一般选择此级别就足够了)

Level 3 :: Newline removal 移除JS文件中的注释,将所有代码合并为一行

Level 4 :: Variable substitution 提供最新的压缩率,移除JS文件中的注释,将所有代码合并为一行,并且修改JS文件中的变量名

在WINDOWS命令行下执行

cscript ESC.wsf -ow 压缩后文件.js 压缩前文件.js 将压缩前的js文件按照压缩级别2来压缩(ESC.wsf默认压缩级别为2)

cscript ESC.wsf -l 3 -ow 压缩后文件.js Common.js 将压缩前的js文件按照压缩级别3来压缩为"压缩后文件.js"

需要注意的是,ESC.wsf压缩级别4会把变量名修改,如果你的js中用到了全局变量或者类的话,就不能使用该压缩级别了,否则其它使用你的js的文件可能会无法正常运行。

文件下载: 点击下载

最新评论:

no.30082 yzttmBavaantack 5.188.210.62 2018-12-17 23:52

cbd online <a href="https://highcbdoildrops.com/#">best cbd oil reviews</a> | <a href=" https://highcbdoildrops.com/# ">the cbd store</a> | [url=https://highcbdoildrops.com/#]buy cbd[/url] [url=https://highcbdoildrops.com/#]retail stores selling cbd oil[/url]

no.30081 uxkxnBavaantack 5.188.210.67 2018-12-17 23:35

https://onlinecasinogag.us.org/# casino slots free games [url=https://onlinecasinogag.us.org/#]high 5 casino[/url] [url=https://onlinecasinogag.us.org/#]real money casinos[/url] <a href="https://onlinecasinogag.us.org/#">online casino slots no download</a> <a href=" https://onlinecasinogag.us.org/#">free vegas casino games</a>

no.30080 rbhymBavaantack 5.188.210.66 2018-12-17 23:35

casino games free <a href="https://onlinecasinoziz.com/#">free online casino games</a> | <a href=" https://onlinecasinoziz.com/# ">slots free spins no registration</a> | [url=https://onlinecasinoziz.com/#]totally free slots no download[/url] [url=https://onlinecasinoziz.com/#]poker games[/url]

no.30079 bforhld 5.188.210.5 2018-12-17 23:34

[url=https://allappsdownload.org/die-webseite-der-bekanntschaften/]die webseite der bekanntschaften[/url] [url=https://allappsdownload.org/escort-shemale/]escort shemale[/url] [url=https://allappsdownload.org/videos-sexe-gratuit/]videos sexe gratuit[/url] [url=https://allappsdownload.org/partnersuche-frau-ab-40/]partnersuche frau ab 40[/url] [url=https://allappsdownload.org/sex-nidwalden/]sex nidwalden[/url] [url=https://allappsdownload.org/frau-aus-thailand-kennenlernen/]frau aus thailand kenne

no.30078 acudajl 5.188.210.63 2018-12-17 23:34

<a href=" https://www.bprdanautama.co.id/zaepfchen-diclofenac/ ">zäpfchen diclofenac</a> <a href=" https://www.bprdanautama.co.id/ciprofloxacin-for-stomach-infection/ ">ciprofloxacin for stomach infection</a> <a href=" https://www.bprdanautama.co.id/ginseng-laden/ ">ginseng laden</a> <a href=" https://www.bprdanautama.co.id/silica-gel-desiccant-dehumidifier/ ">silica gel desiccant dehumidifier</a> <a href=" https://www.bprdanautama.co.id/virostatika-herpes/ ">virostatika herpes</a> <a href=" ht

no.30077 vhbxzvou 5.188.210.5 2018-12-17 23:25

<a href=" slots777usa.com ">celebrity slots</a>, wms slots free slots online, [url=slots777usa.com]buffalo slots[/url] slots777usa.com

no.30076 bxqzfBavaantack 5.188.210.62 2018-12-17 23:24

cbd pure <a href="https://cbdoilmarketusa.com/#">retail stores selling cbd oil</a> | <a href=" https://cbdoilmarketusa.com/# ">where to buy cbd locally</a> | [url=https://cbdoilmarketusa.com/#]cbd oil dosage instructions[/url] [url=https://cbdoilmarketusa.com/#]cbd dosage[/url]

no.30075 ckhgkBavaantack 5.188.210.66 2018-12-17 23:23

free casino games slots <a href="https://onlinecasinozik.com/#">free casino blackjack</a> | <a href=" https://onlinecasinozik.com/# ">slots games free</a> | [url=https://onlinecasinozik.com/#]my vegas slots[/url] [url=https://onlinecasinozik.com/#]vegas world casino games free[/url]

no.30074 nwhrivnv 5.188.210.5 2018-12-17 23:20

<a href=" slots777usa.com ">liberty slots casino</a>, free online games slots vegas world free slots games - [url=slots777usa.com]igt free slots[/url] slots777usa.com

no.30073 qpuwmBavaantack 5.188.210.67 2018-12-17 23:19

free slot games with no download <a href="https://mycasinoslots.us.org/#">free slots 777</a> | <a href=" https://mycasinoslots.us.org/# ">free slots no download no registration needed</a> | [url=https://mycasinoslots.us.org/#]slots of vegas[/url] [url=https://mycasinoslots.us.org/#]online gambling for real money[/url]

no.30072 yvbzaBavaantack 5.188.210.62 2018-12-17 23:13

https://moderncbdoil.com/# cbd oil amazon [url=https://moderncbdoil.com/#]buy cbd oil online[/url] [url=https://moderncbdoil.com/#]best cbd oil[/url] <a href="https://moderncbdoil.com/#">bluebird cbd oil</a> <a href=" https://moderncbdoil.com/#">where can i buy cbd oil near me</a>

no.30071 syzyjBavaantack 5.188.210.64 2018-12-17 23:13

casino games online <a href="https://onlinecasinotop.us.org/#">gsn casino games</a> | <a href=" https://onlinecasinotop.us.org/# ">slots free</a> | [url=https://onlinecasinotop.us.org/#]cashman casino slots[/url] [url=https://onlinecasinotop.us.org/#]hollywood casino[/url]

no.30070 ualftBavaantack 5.188.210.64 2018-12-17 23:10

cashman casino slots <a href="https://onlinecasino2018.us.org/#">parx online casino</a> | <a href=" https://onlinecasino2018.us.org/# ">online gambling casino</a> | [url=https://onlinecasino2018.us.org/#]winstar world casino[/url] [url=https://onlinecasino2018.us.org/#]borgata online casino[/url]

no.30069 trisxBavaantack 5.188.210.60 2018-12-17 22:52

pro cbd oil <a href="https://cbdoilmarketusa.com/#">cbd vape oil</a> | <a href=" https://cbdoilmarketusa.com/# ">buy cbd oil with thc</a> | [url=https://cbdoilmarketusa.com/#]cbd shop[/url] [url=https://cbdoilmarketusa.com/#]charlottes web cbd oil[/url]

no.30068 qbzhismc 5.188.210.5 2018-12-17 22:50

<a href=" slots777usa.com ">heart of vegas free slots</a> - liberty slots free slots hollywood, [url=slots777usa.com]quick hits free slots[/url] slots777usa.com

no.30067 ojzbrBavaantack 5.188.210.66 2018-12-17 22:49

penny slots for free online <a href="https://onlinecasinoplayyz.com/#">download free casino games</a> | <a href=" https://onlinecasinoplayyz.com/# ">quick hits free slots</a> | [url=https://onlinecasinoplayyz.com/#]casino slots free[/url] [url=https://onlinecasinoplayyz.com/#]play slots for free win real money[/url]

no.30066 yyoipBavaantack 5.188.210.67 2018-12-17 22:46

casino games online <a href="https://myonlinecasinoslots.us.org/#">slots games free</a> | <a href=" https://myonlinecasinoslots.us.org/# ">slot machine games free</a> | [url=https://myonlinecasinoslots.us.org/#]online casino slots[/url] [url=https://myonlinecasinoslots.us.org/#]msn games zone online casino[/url]

no.30065 bbrwgBavaantack 5.188.210.62 2018-12-17 22:35

cbd oil at walmart <a href="https://cannacbdoilrx.com/#">cannabidiol</a> | <a href=" https://cannacbdoilrx.com/# ">cbd oils</a> | [url=https://cannacbdoilrx.com/#]pure cbd[/url] [url=https://cannacbdoilrx.com/#]buy cbd oil online[/url]

no.30064 aefsuBavaantack 5.188.210.60 2018-12-17 22:35

buy cbd hemp buds <a href="https://cannacbdoilrx.com/#">cbd cream</a> | <a href=" https://cannacbdoilrx.com/# ">cbd coffee</a> | [url=https://cannacbdoilrx.com/#]where to buy cbd cream[/url] [url=https://cannacbdoilrx.com/#]buy cbd oil for dogs[/url]

no.30063 osjbaBavaantack 5.188.210.64 2018-12-17 22:33

https://onlinecasino888.us.org/# free online casino [url=https://onlinecasino888.us.org/#]online casino bonus[/url] [url=https://onlinecasino888.us.org/#]online slots[/url] <a href="https://onlinecasino888.us.org/#">online slots</a> <a href=" https://onlinecasino888.us.org/#">free slots casino games</a>

no.30062 hioqfBavaantack 5.188.210.60 2018-12-17 22:31

buy cbd oil with thc <a href="https://highcbdoildrops.com/#">the distillery</a> | <a href=" https://highcbdoildrops.com/# ">cbd benefits</a> | [url=https://highcbdoildrops.com/#]cbd oil prices[/url] [url=https://highcbdoildrops.com/#]american shaman cbd[/url]

no.30061 ixuasBavaantack 5.188.210.64 2018-12-17 22:31

free slots casino games <a href="https://playonlinecasino.us.org/#">slotomania free slots</a> | <a href=" https://playonlinecasino.us.org/# ">play casino</a> | [url=https://playonlinecasino.us.org/#]online gambling[/url] [url=https://playonlinecasino.us.org/#]play online casino[/url]

no.30060 tjqmvBavaantack 5.188.210.66 2018-12-17 22:29

online casinos <a href="https://onlinecasinozik.com/#">casino slots</a> | <a href=" https://onlinecasinozik.com/# ">casino games free online</a> | [url=https://onlinecasinozik.com/#]free vegas slots[/url] [url=https://onlinecasinozik.com/#]posh casino online[/url]

no.30059 hoxiipor 5.188.210.5 2018-12-17 22:27

<a href=" slots777usa.com ">online slots</a>, wizard of oz slots penny slots free online - [url=slots777usa.com]penny slots free online[/url] slots777usa.com

no.30058 enjzvBavaantack 5.188.210.66 2018-12-17 22:25

simslots free slots <a href="https://onlinecasinoziz.com/#">free slots no download no registration zeus</a> | <a href=" https://onlinecasinoziz.com/# ">all free casino slots games</a> | [url=https://onlinecasinoziz.com/#]free online casino games vegas[/url] [url=https://onlinecasinoziz.com/#]hollywood slots[/url]

no.30057 xlsqcwlu 5.188.210.5 2018-12-17 22:25

<a href=" slots777usa.com ">hearts of vegas free slots</a> - vegas slots free vegas free slots - [url=slots777usa.com]slots free games[/url] slots777usa.com

no.30056 udlhmlc 5.188.210.63 2018-12-17 22:02

<a href=" https://www.bprdanautama.co.id/is-nexium-a-prescription-drug/ ">is nexium a prescription drug</a> <a href=" https://www.bprdanautama.co.id/viagra-generika-bestellen/ ">viagra generika bestellen</a> <a href=" https://www.bprdanautama.co.id/kette-fluegel/ ">kette flГјgel</a> <a href=" https://www.bprdanautama.co.id/avodart-haarausfall/ ">avodart haarausfall</a> <a href=" https://www.bprdanautama.co.id/paroxetin-beta/ ">paroxetin beta</a> <a href=" https://www.bprdanautama.co.id/prednisol

no.30055 vnxseBavaantack 5.188.210.62 2018-12-17 21:57

cbd salve <a href="https://highcbdoildrops.com/#">cbd stocks</a> | <a href=" https://highcbdoildrops.com/# ">cbdistillery</a> | [url=https://highcbdoildrops.com/#]cbd oil[/url] [url=https://highcbdoildrops.com/#]zilis cbd oil[/url]

no.30054 iymtaBavaantack 5.188.210.62 2018-12-17 21:47

cbd distillery <a href="https://cbdoilmarketusa.com/#">cannabidiol</a> | <a href=" https://cbdoilmarketusa.com/# ">cbd oil distributors</a> | [url=https://cbdoilmarketusa.com/#]cbd oil florida[/url] [url=https://cbdoilmarketusa.com/#]cbd oil reviews 2018[/url]

no.30053 ickjqBavaantack 5.188.210.60 2018-12-17 21:42

strongest cbd oil for sale <a href="https://americacbdoilstore.com/#">cbd vape oil</a> | <a href=" https://americacbdoilstore.com/# ">best cbd oil reviews</a> | [url=https://americacbdoilstore.com/#]cbd vape juice[/url] [url=https://americacbdoilstore.com/#]ananda cbd oil[/url]

no.30052 cbcmujc 5.188.210.63 2018-12-17 21:38

<a href=" https://www.bprdanautama.co.id/lungenfluegel-funktion/ ">lungenflГјgel funktion</a> <a href=" https://www.bprdanautama.co.id/best-ginseng-for-men/ ">best ginseng for men</a> <a href=" https://www.bprdanautama.co.id/hautantibiotikum-pille/ ">hautantibiotikum pille</a> <a href=" https://www.bprdanautama.co.id/atenolol-50/ ">atenolol 50</a> <a href=" https://www.bprdanautama.co.id/asics-gel-lyte-white/ ">asics gel lyte white</a> <a href=" https://www.bprdanautama.co.id/fingernaegel-blaett

no.30051 fdtknBavaantack 5.188.210.62 2018-12-17 21:36

https://moderncbdoil.com/# cbd tincture [url=https://moderncbdoil.com/#]best cbd oil[/url] [url=https://moderncbdoil.com/#]cbd oil at gnc[/url] <a href="https://moderncbdoil.com/#">cbd oil price</a> <a href=" https://moderncbdoil.com/#">cbd capsules</a>

no.30050 wdiidBavaantack 5.188.210.67 2018-12-17 21:35

vegas world casino games free <a href="https://onlinecasinoplaynow.us.org/#">online slots free</a> | <a href=" https://onlinecasinoplaynow.us.org/# ">heart of vegas casino game</a> | [url=https://onlinecasinoplaynow.us.org/#]big fish casino slots[/url] [url=https://onlinecasinoplaynow.us.org/#]caesar casino free slots games[/url]

no.30049 pspvnBavaantack 5.188.210.66 2018-12-17 21:35

play real casino slots free <a href="https://onlinecasinozik.com/#">play lady luck</a> | <a href=" https://onlinecasinozik.com/# ">free casino blackjack</a> | [url=https://onlinecasinozik.com/#]caesars online casino[/url] [url=https://onlinecasinozik.com/#]free blackjack games casino style[/url]

no.30048 kbxgyBavaantack 5.188.210.64 2018-12-17 21:32

free casino games slotomania <a href="https://onlinecasinotop.us.org/#">online slots</a> | <a href=" https://onlinecasinotop.us.org/# ">online casino slots</a> | [url=https://onlinecasinotop.us.org/#]casino online[/url] [url=https://onlinecasinotop.us.org/#]vegas world slots[/url]

no.30047 xvfoxBavaantack 5.188.210.60 2018-12-17 21:32

medterra cbd <a href="https://cbdoilmarketusa.com/#">cbd oil for anxiety</a> | <a href=" https://cbdoilmarketusa.com/# ">does cbd oil work</a> | [url=https://cbdoilmarketusa.com/#]cbd vape[/url] [url=https://cbdoilmarketusa.com/#]purekana cbd oil[/url]

no.30046 zicbhpy 5.188.210.63 2018-12-17 21:32

[url=https://www.bprdanautama.co.id/abilify-og-alkohol/]abilify og alkohol[/url] [url=https://www.bprdanautama.co.id/ueberdosis-antidepressiva/]Гјberdosis antidepressiva[/url] [url=https://www.bprdanautama.co.id/proventil-dosage/]proventil dosage[/url] [url=https://www.bprdanautama.co.id/azithromycin-salbe/]azithromycin salbe[/url] [url=https://www.bprdanautama.co.id/schwimmfluegel-im-test/]schwimmflГјgel im test[/url] [url=https://www.bprdanautama.co.id/digitalis-ueberdosierung/]digitalis Гјber

no.30045 zyvmbBavaantack 5.188.210.66 2018-12-17 21:30

online slot machines <a href="https://onlinecasinoplayyz.com/#">free full casino games download</a> | <a href=" https://onlinecasinoplayyz.com/# ">hollywood casino free slot play</a> | [url=https://onlinecasinoplayyz.com/#]las vegas free penny slots[/url] [url=https://onlinecasinoplayyz.com/#]online casino slots[/url]

no.30044 edgzlBavaantack 5.188.210.64 2018-12-17 21:29

casino slots <a href="https://onlinecasino2018.us.org/#">free casino games</a> | <a href=" https://onlinecasino2018.us.org/# ">free casino</a> | [url=https://onlinecasino2018.us.org/#]free casino games slots[/url] [url=https://onlinecasino2018.us.org/#]hyper casinos[/url]

no.30043 zjvpdBavaantack 5.188.210.67 2018-12-17 21:26

https://onlinecasinogag.us.org/# all games list free slots [url=https://onlinecasinogag.us.org/#]200 free slot casino games[/url] [url=https://onlinecasinogag.us.org/#]lady luck casino free games[/url] <a href="https://onlinecasinogag.us.org/#">online slots</a> <a href=" https://onlinecasinogag.us.org/#">gold fish casino slots</a>

no.30042 jqdrhbns 5.188.210.5 2018-12-17 21:25

<a href=" slots777usa.com ">mirrorball slots</a>, free slots online casino slots free games, [url=slots777usa.com]free slots no download no registration[/url] slots777usa.com

no.30041 pdgorulk 5.188.210.5 2018-12-17 21:22

<a href=" slots777usa.com ">old vegas slots</a>, casino slots caesars slots, [url=slots777usa.com]penny slots[/url] slots777usa.com

no.30040 vhzdzBavaantack 5.188.210.66 2018-12-17 21:15

vegas world free games <a href="https://onlinecasinoziz.com/#">list of las vegas casinos</a> | <a href=" https://onlinecasinoziz.com/# ">slots for free</a> | [url=https://onlinecasinoziz.com/#]free online games that pay real money[/url] [url=https://onlinecasinoziz.com/#]win free money no deposit[/url]

no.30039 eeofbBavaantack 5.188.210.60 2018-12-17 21:12

where to buy cbd oil near me <a href="https://cannacbdoilrx.com/#">strongest cbd oil for sale</a> | <a href=" https://cannacbdoilrx.com/# ">where to buy cbd locally</a> | [url=https://cannacbdoilrx.com/#]cbd oil with thc[/url] [url=https://cannacbdoilrx.com/#]cw cbd oil[/url]

no.30038 jwkdqigz 5.188.210.5 2018-12-17 21:12

<a href=" slots777usa.com ">free slots no download</a> - vegas slots free slots free, [url=slots777usa.com]casino slots free[/url] slots777usa.com

no.30037 kmbtsBavaantack 5.188.210.60 2018-12-17 21:08

cbd oil near me <a href="https://highcbdoildrops.com/#">cbd oil for pain</a> | <a href=" https://highcbdoildrops.com/# ">pure cbd</a> | [url=https://highcbdoildrops.com/#]charlottes web cbd[/url] [url=https://highcbdoildrops.com/#]cbd coffee[/url]

no.30036 dajlerf 5.188.210.63 2018-12-17 21:04

<a href=" https://www.bprdanautama.co.id/aktien-lithium/ ">aktien lithium</a> <a href=" https://www.bprdanautama.co.id/does-minoxidil-stop-hair-loss/ ">does minoxidil stop hair loss</a> <a href=" https://www.bprdanautama.co.id/chloroquin-suizid-dosis/ ">chloroquin suizid dosis</a> <a href=" https://www.bprdanautama.co.id/kamagra-shop-deutschland-erfahrung-2015/ ">kamagra shop deutschland erfahrung 2015</a> <a href=" https://www.bprdanautama.co.id/fusidinsaeure/ ">fusidinsäure</a> <a href=" http

no.30035 xxxopBavaantack 5.188.210.64 2018-12-17 20:56

https://onlinecasino888.us.org/# casino online [url=https://onlinecasino888.us.org/#]online casino real money[/url] [url=https://onlinecasino888.us.org/#]slotomania free slots[/url] <a href="https://onlinecasino888.us.org/#">casino game</a> <a href=" https://onlinecasino888.us.org/#">online gambling casino</a>

no.30034 updcsatk 5.188.210.5 2018-12-17 20:56

<a href=" slots777usa.com ">konami slots</a>, freeslots.com slots my vegas slots, [url=slots777usa.com]penny slots[/url] slots777usa.com

no.30033 tqhyrBavaantack 5.188.210.67 2018-12-17 20:49

free online slots <a href="https://mycasinoslots.us.org/#">gsn casino games</a> | <a href=" https://mycasinoslots.us.org/# ">casino bonus codes</a> | [url=https://mycasinoslots.us.org/#]borgata online casino[/url] [url=https://mycasinoslots.us.org/#]hollywood casino free slots[/url]

发表评论:

邮箱: