admin管理员组文章数量:1431949
I'm writing some scripts that are using the HTML 5 file API in FireFox 3.6. I got some deflated (pressed) files, and I need to inflate (unpress) them.
I found a few scripts while googling, but none of them have tests. So I'm a bit reluctant to use them.
My question is: Browsers can inflate. Can I somehow piggyback on the inflation by forging A XHR request? Or piggyback in any other way? Keep in mind, the script is currently FireFox 3.6 exclusive. It can't be an extension, though, I want it to be a regular webpage.
Alternatively, are there any scripts that you know of that has tests written for it?
I'm writing some scripts that are using the HTML 5 file API in FireFox 3.6. I got some deflated (pressed) files, and I need to inflate (unpress) them.
I found a few scripts while googling, but none of them have tests. So I'm a bit reluctant to use them.
My question is: Browsers can inflate. Can I somehow piggyback on the inflation by forging A XHR request? Or piggyback in any other way? Keep in mind, the script is currently FireFox 3.6 exclusive. It can't be an extension, though, I want it to be a regular webpage.
Alternatively, are there any scripts that you know of that has tests written for it?
Share Improve this question asked Jan 31, 2010 at 13:50 August LilleaasAugust Lilleaas 54.6k13 gold badges105 silver badges113 bronze badges2 Answers
Reset to default 3I found an existing library. Wrote a test. Wrapped it in a function so that it didn't pollute the global namespace, that's about it.
http://github./augustl/js-inflate
Update of my post is: http://pastie/1588170
-+-+-+-+-+-+-+-+-+-+
I use DEFLATE encoder and decoder implementation in Javascript at http://github./dankogai/js-deflate
I use Google's V8 Javascript engine (url ) on server side to run Javascript code which I run on client side in web browser.
本文标签: firefoxJavaScript inflate implementation (possibly FF 36 only)Stack Overflow
版权声明:本文标题:firefox - JavaScript inflate implementation (possibly FF 3.6 only) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745586769a2664954.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论