开发者

What is the maximum size of local storage available for Firefox add-ons and/or Chrome extensions?

开发者 https://www.devze.com 2023-01-12 06:26 出处:网络
Designing som开发者_StackOverflow社区e extensions that will continuously update a dataset that is used to render additional information on webpages.This isn\'t standardized, but a Chrome extension is

Designing som开发者_StackOverflow社区e extensions that will continuously update a dataset that is used to render additional information on webpages.


This isn't standardized, but a Chrome extension is limited to 5 MB unless you ask for extra space: https://developer.chrome.com/extensions/manifest#permissions

You could use this as a rough guide to see if the problem you were trying to solve is appropriate for localStorage. If it's a lot less than 5MB, you're probably okay (though note many browsers don't have full support yet), but if it's more, it's probably the wrong solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消