aspnetguy Posted February 7, 2007 Share Posted February 7, 2007 I got tired of downloading a JS library that had been compressed to conserve size. This is great for performance but sometimes I what to take a look at the code especially if I get an error.So I whipped up this program to decompress JS files that have had all whitespace removed. It isn't perfect and the end result is not that pretty but is much better than adding the white space by hand.In the zip is JSDecompress.exe and jsdecompress.bat (plus source code). This is a Console Application written in C# it produces a file at the path you specified with _uncompressed.ext add to the original filename.Change the batch file to insert to exact location of the file you want to decompress. ENJOY!jsdecompress.zip* Doesn't seem to want to download.If you can't download the above attachemnt you can download the zip from here http://www.geekdaily.net/downloads/jsdecompress.zip Link to comment Share on other sites More sharing options...
PrateekSaxena Posted March 14, 2007 Share Posted March 14, 2007 Nice 'tis usefull Link to comment Share on other sites More sharing options...
bibibibi Posted August 6, 2007 Share Posted August 6, 2007 This is really strange, but I am still unable to see any attachments (and, perhaps, I am also unable to create attachments) Link to comment Share on other sites More sharing options...
aspnetguy Posted August 6, 2007 Author Share Posted August 6, 2007 the attachment is gone..hmmm Link to comment Share on other sites More sharing options...
bibibibi Posted August 6, 2007 Share Posted August 6, 2007 the attachment is gone..hmmmThanx, now I can see it!!! .... But still unable to download it Say truth - you make fun of me. Don't you? Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below if available. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 6, 2007 Author Share Posted August 6, 2007 ok, what happens when you try to download? What browser are you using? Link to comment Share on other sites More sharing options...
bibibibi Posted August 6, 2007 Share Posted August 6, 2007 ok, what happens when you try to download? What browser are you using?As I said before, I get an error message:Sorry, but you do not have permission to use this feature. If you are not logged in, you may do so using the form below if available.But, I am logged in. It is a typical permissions problem, I suppose.p.s. firewall deactivated, tried with Firefox and IE - same result. Link to comment Share on other sites More sharing options...
george Posted August 6, 2007 Share Posted August 6, 2007 As I said before, I get an error message:But, I am logged in. It is a typical permissions problem, I suppose.p.s. firewall deactivated, tried with Firefox and IE - same result.Me too. BTW: how do you compress a Javascript file? Is it just a zipped file? Link to comment Share on other sites More sharing options...
bibibibi Posted August 18, 2007 Share Posted August 18, 2007 It is really curious situation... Even the Group: Moderator, with advanced Web Development skills is unable to resolve the "attachment problem" on this forum.On The W3 schools forum, by the way... You'll Believe It When You See It Link to comment Share on other sites More sharing options...
Synook Posted August 19, 2007 Share Posted August 19, 2007 lol probably a permissions problem. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 20, 2007 Author Share Posted August 20, 2007 Me too. BTW: how do you compress a Javascript file? Is it just a zipped file?You can use something like http://dean.edwards.name/packer/. It removes all comments and extra whitespace fromt he file making it smaller and downlaods faster. You can download JSDecompress here http://www.geekdaily.net/downloads/jsdecompress.zipSorry for taking so long to get it uploaded. Link to comment Share on other sites More sharing options...
shoa Posted June 30, 2008 Share Posted June 30, 2008 You can use something like http://dean.edwards.name/packer/. It removes all comments and extra whitespace fromt he file making it smaller and downlaods faster. You can download JSDecompress here http://www.geekdaily.net/downloads/jsdecompress.zipSorry for taking so long to get it uploaded.I know this is an old post but and would like to download the JSDecompress but cannot download attachments for some reason I know its my first post but it says permission denied you are not logged in very strange.I managed to Download a php script that packs JS yestured and I just reversed it to make it unpack the Js files instead but would like to see this one just because it nice to see how others do things.thanks Link to comment Share on other sites More sharing options...
aspnetguy Posted June 30, 2008 Author Share Posted June 30, 2008 PM me your email address and I'll send it to you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now