Google Chrome浏览器扩展程序有什么方法可以增加本地存储空间? [英] Is there any way a Google Chrome extension can increase local storage space?
本文介绍了Google Chrome浏览器扩展程序有什么方法可以增加本地存储空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我认为HTML5本地存储每个网域最多可以存储5MB。 Google Chrome浏览器扩展程序可以指定一个域来增加存储空间吗?
解决方案
您只能请求无限制的扩展空间存储空间清单,属于其他域的存储是不能更改的:
$ b $ $ p $ permissions:[
unlimitedStorage
],
I think HTML5 local storage can store a maximum of 5MB per domain. Can a Google Chrome extension specify a domain for an increase in storage?
解决方案
You can only request unlimited space for extension's storage in the manifest, storages that belong to other domains cannot be changed:
"permissions": [
"unlimitedStorage"
],
这篇关于Google Chrome浏览器扩展程序有什么方法可以增加本地存储空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文