javascript|jquery|ajax|etc.. How to download/read only first 80KB of file.
Posted
by
DeusAphor
on Stack Overflow
See other posts from Stack Overflow
or by DeusAphor
Published on 2012-06-16T02:12:31Z
Indexed on
2012/06/16
3:16 UTC
Read the original article
Hit count: 93
I am making a grease-monkey plugin for a website that has many flash files. I'd like to make a hash of the flash, the problem is that the flash files are up to 10(total) * 10MEGS. This is slow; I'd like to be able to only grab the first 80KB to hash. The end result would be an easy way to blacklist certain flash files containing unwanted content.
Is this possible? Suggestions?
Code examples are greatly appreciated!
© Stack Overflow or respective owner