Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for storage.StorageArea.onChanged.
Dictionary 0
This corpus is unavailable: timeout
Papers 0
This corpus is unavailable: timeout
Wikidata 0
This corpus is unavailable: timeout
Developer library 6
storage
le from `about:debugging`. > [!NOTE] > The storage area is not encrypted and shouldn't be used for storing confidential user information. ## Types - storage.StorageArea - : An object representing a storage area. - storage.StorageChange - : An object representing a change to a storage area. ## Properties `storage` has four properties, which represent the different types of available storage area. - storage.l
storage.managed
A storage.StorageArea object that represents the `managed` storage area. Items in `managed` storage are set by the domain administrator or other native applications installed on the user's computer and are read-only for the extension. Trying to modify this storage area results in an error. ## Provisioning managed storage The procedure for provisioning managed storage varies between browsers. For Chrome instructions
storage.onChanged
Fires when one or more items in any of the [storage areas](/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea) changes. If you only need to listen for changes in one storage area, use storage.StorageArea.onChanged instead. Fired when storageArea.set, storageArea.remove, or storageArea.clear executes against any of the [storage areas](/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea). > [!NOTE] >
storage.local
ta saved using the `storage.local` API is correctly persisted in these scenarios. ## Methods The `local` object implements the methods defined on the storage.StorageArea type: - storage.local.get() - : Retrieves one or more items from the storage area. - storage.local.getBytesInUse() - : Gets the amount of storage space (in bytes) used for one or more items in the storage area. - storage.local.getKeys() - :
storage.sync
or example, update the total views based on the remote count and new local count). ## Methods The `sync` object implements the methods defined on the storage.StorageArea type: - storage.sync.get() - : Retrieves one or more items from the storage area. - storage.sync.getBytesInUse() - : Gets the amount of storage space (in bytes) used for one or more items in the storage area. - storage.sync.getKeys() - : Ret
storage.session
: The maximum amount of data (in bytes) that can be stored in session storage. ## Methods The `session` object implements the methods defined on the storage.StorageArea type: - storage.session.get() - : Retrieves one or more items from the storage area. - storage.session.getBytesInUse() - : Gets the amount of storage space (in bytes) used for one or more items in the storage area. - storage.session.getKeys()