chrome.storage.session
Not for content scripts, as in Chrome's default access level.
Gate: permission storage; contexts: Background, Popup, Tab. Source: api/ext_storage.widl.
Methods and properties
| Member | Result | Status | Gate | |
|---|---|---|---|---|
get(optional Keys keys) | object | host | ||
set(object items) | void | host | ||
remove(Keys keys) | void | host | ||
clear() | void | host | ||
getBytesInUse(optional Keys keys) | i64 | host | ||
getKeys() | string[] | host | ||
setAccessLevel(AccessOptions accessOptions) | void | host | Accepted; content scripts keep no access. |
Events
| Event | Listener's parameters | Gate | |
|---|---|---|---|
onChanged | object changes |
Constants
QUOTA_BYTES=10485760