GO-V.ORG
As seen in

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.onChanged.

Developer library 6

options_ui

ontent script(s)](/docs/Mozilla/Add-ons/WebExtensions/Content_scripts)) need to know about the change, your script(s) might choose to add a listener to storage.onChanged. ## Syntax The `options_ui` key is an object with the following contents: <table class="fullwidth-table standard-table"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Type</th> <th scope="col">Description</th>

cookies

` must be set. The exception is `getAll`, where setting `partitionKey` without `topLevelSite` returns cookies in partitioned and unpartitioned storage. cookies.onChanged fires for any cookie that the extension can access, including cookies in partitioned storage. To ensure that the correct cookie is modified, extensions should read the `cookie.partitionKey` property from the event and pass its value to cookies.set()

cookies.onChanged

The `onChanged` event of the cookies API fires when a cookie that the extension can access is set or removed. > [!NOTE] > When [storage partitioning](/docs/Mozilla/Add-ons/WebExtensions/API/cookies#storage_partitioning) is active, `cookies.Cookie.partitionKey` contains the description of the cookie's storage partition. When modifying cookies, it's important to pass this value to cookies.set() or cookies.remove() to

storage

are synced by the browser, and are available across all instances of that browser that the user is logged into, across different devices. ## Events - storage.onChanged - : Fired when one or more items change in any of the storage areas. h2 ## Browser compatibility > [!NOTE] > This API is based on Chromium's [`chrome.storage`](https://developer.chrome.com/docs/extensions/reference/api/storage) API. This docum

storage.managed

s the keys of all items in the storage area. ## Events The `managed` object implements the events defined on the storage.StorageArea type: - storage.managed.onChanged - : Fires when one or more items in the storage area change. ## Browser compatibility > [!NOTE] > This API is based on Chromium's [`chrome.storage`](https://developer.chrome.com/docs/extensions/reference/api/storage#property-managed) API. Thi

storage.onChanged

reas](/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] > In Firefox, the listener receives all the keys from

JSON results · Services directory