Is LocalStorage synchronization for Chrome extensions already available?

后端 未结 1 420
甜味超标
甜味超标 2020-12-20 08:18

I found chromium issue titled \"Allow extensions/apps to sync their own settings\" that has status \'Fixed\'. It\'s from December 2011. So, does it

相关标签:
1条回答
  • 2020-12-20 09:21
    • chrome.experimental.storage was introduced as an experimental API in Chrome 18.
    • In Chrome 19, the API became restricted to the Dev channel.
    • Since Chrome 20, the API is not experimental any more Docs | Examples.

    To use the API, manifest version 2 is required. This is the minimum manifest file to get an extension to work in Chrome 20+:

    {
      "name": "test",
      "version": "1",
      "manifest_version": 2,
      "permissions": ["storage"]
    }
    
    0 讨论(0)
提交回复
热议问题