PunkJS
[nfo]
|
||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 54% |
|||||||
alltime top: #30847 |
|
|||||||
|
||||||||
added on the 2013-10-21 12:55:20 by Suborg |
popularity helper
comments
How does it compare to other packers ? From your mention of Canvas, I assume it uses PNG bootstraping.
I can't/won't use this tool because it is failnux only* but thanks for providing new tools.
I can't/won't use this tool because it is failnux only* but thanks for providing new tools.
It would be great to see a table comparing both or more packers against the same files.
The bootstrap of PunkJS itself is quite big at ~220 bytes ( 200 when removing the onerror=src=location ) compared to the ~160 bytes we got in the global eval thread.
The bootstrap of PunkJS itself is quite big at ~220 bytes ( 200 when removing the onerror=src=location ) compared to the ~160 bytes we got in the global eval thread.
Ah! That's for data:uri support. Nice touch. Never used that myself but I can see the convenience.
Strange I never had loading problems in Opera, and I code my non-webGL prods in Opera 12. Was it with data:uris too ?
Strange I never had loading problems in Opera, and I code my non-webGL prods in Opera 12. Was it with data:uris too ?
+ Linux
+ demotool
+ unpack engine
+ many more ...
============
Perfect!
+ demotool
+ unpack engine
+ many more ...
============
Perfect!
Quote:
Compared to JsExe it does not do pre-minification and other bells and whistles but does only one thing - compression - and does it well: it's far more robust (some tricks are used to prevent random garbage in PNG from breaking the parser)
What kind of tricks? If you're talking about the opening tag character checking, JsExe does it as well of course (the generated PNG is not supposed to fail half the time!)
You, clever clock with the <!-- IDAT --> trick.
The DataWarp idea is .. interesting, but I'm sure the security people at work would not approve of this.
The Presto+IE must be a regression because I'm sure I managed to watch this intro before. And I don't remember seeing a bug report about that :\
The DataWarp idea is .. interesting, but I'm sure the security people at work would not approve of this.
The Presto+IE must be a regression because I'm sure I managed to watch this intro before. And I don't remember seeing a bug report about that :\
Firefox 22 and later doesn't support invalid IDAT CRC, didn't you have any problem with your parser?
Just so you know, JsExe aims to be a handy demo-oriented toolbox to produce smallest possible files (as do demo packers on other platforms). Browser compatibility isn't a top priority, even if latests versions of Chrome, FF and Opera are of course always supported. JsExe rather provides several tools to achieve the best compression ratio, while keeping reasonable compression time. As you should know any saved byte is important when you write an 1k! Anyway, JsExe and PunkJS just have different purpose.
Just so you know, JsExe aims to be a handy demo-oriented toolbox to produce smallest possible files (as do demo packers on other platforms). Browser compatibility isn't a top priority, even if latests versions of Chrome, FF and Opera are of course always supported. JsExe rather provides several tools to achieve the best compression ratio, while keeping reasonable compression time. As you should know any saved byte is important when you write an 1k! Anyway, JsExe and PunkJS just have different purpose.
I just tweaked the bootstrap of 512 bytes by adinpsz and got it to unpack the code nicely ... but then it threw an exception in Opera 12 because of webkitAudioContext. My quickly hacked bootstrap fix was 163 bytes vs 169 bytes for the original one :p
Code:
<canvas id=V><img src=# onload=C=V.getContext('2d');for(_='',$=1657;$--;_+=String.fromCharCode(C.getImageData(0,0,1,1).data[0]))C.drawImage(this,-$,0);(1,eval)(_)>
Or add a null character to your PNG, use the Matraka-like bootstrapper, and save a couple bytes more :)
submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, click here !
Features:
See README.nfo for details.