开发者

Can I access Gears from a Chrome extension?

开发者 https://www.devze.com 2022-12-09 06:36 出处:网络
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

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

精彩评论

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

关注公众号