Chrome Extension storage

# Basic Concepts

there are 3 storage area for chrome, `sync`, `local`, `managed` areas. the `sync` area will be synced with the cloud. managed area is read-only.

all your extension scripts share the same storage, including content scripts, they don’t belong to their domain’s localStorage.

# Usage

“`‘key’, function(data) {});[“KEY1”, “KEY2”], function(data) {});, function() {}); // data is key-value pair to store‘key’, function() {});[“KEY1”, “KEY2”], function() {}); {});

# Events

About 逸飞



电子邮件地址不会被公开。 必填项已用*标注