我可以通过 Chrome 扩展程序访问 Gears 吗?
为 Google Chrome 4.x 开发扩展。我想保留几个参数,并考虑使用 Google Gears 的数据库对象 - 因为它总是与 Chrome 一起安装。
但我找不到任何文档来告诉我是否可行。 我能找到的唯一相关句子是
数据采用同源存储 安全策略,这意味着网络 应用程序无法访问外部数据 其域
是否与本地运行的扩展相关?还有什么可能阻止我使用数据库对象吗? 感谢您抽出时间。
Developing extensions for Google Chrome 4.x. I'd like to keep a couple of parameters persistent, and thought about using Google Gears' Database object - since it's always installed with Chrome.
But I couldn't find any documentation that will tell me if it's possible. The only relevant sentence I could find was
Data is stored using the same-origin
security policy, meaning that a web
application cannot access data outside
of its domain
Is that evenrelevant to an extension, that runs locally? Is there anything else that may prevent me from using the Database object?
Thanks for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据这个关于人们在 Chrome 插件中使用齿轮不同功能的帖子:
http://groups.google.com/group/ gears-users/browse_thread/thread/396c542a7f6d44ce?pli=1
是的。
According to this thread about people using different features of gears in their chrome plugins:
http://groups.google.com/group/gears-users/browse_thread/thread/396c542a7f6d44ce?pli=1
yes.