Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Well, at least this is inefficient. Try to compare xhr.response.size() with e.target.result.length. But I may resort to that in the end. Commented Jan 9, 2014 at 1:14
  • 3
    Its just over 33% larger (base64 encoding), but this is the only way I know of to convert the blob into a usable string. Maybe if you find a better way you can post it as an answer. Commented Jan 9, 2014 at 1:24
  • If I am going to store favicons they are going to be many, plus other data, so all the favicons can take 1mb from the available 5mb Commented Jan 9, 2014 at 6:30
  • You can compress: pieroxy.net/blog/pages/lz-string/index.html Commented May 27, 2023 at 17:27
  • Assuming the original favicon was e.g. PNG file, it's not going to compress anymore. Commented Sep 19, 2023 at 6:16