开发者

Can I access Gears from a Chrome extension?

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 onl开发者_如何学编程y 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.


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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜