Skip to content

Commit ddb7cc6

Browse files
dan-wesleymikehoffmscaptainbrosset
authored
Update article: View, edit, and delete cookies (#2164)
* add inline icons * add new screenshots * fix link to screenshot * add screenshot, tweak * fix note and date * add info for SameParty and Partition Key * add original screenshots, roll back procedure step * touch date * delete Focus mode files for cookies doc * removed Focus Mode icon * Apply suggestions from code review commit suggestions from Michael Co-authored-by: Michael Hoffman <[email protected]> * Apply suggestions from code review changes from Michael and Patrick Co-authored-by: Michael Hoffman <[email protected]> Co-authored-by: Patrick Brosset <[email protected]> * Apply suggestions from code review accept Co-authored-by: Michael Hoffman <[email protected]> * Apply suggestions from code review edits from Michael Co-authored-by: Michael Hoffman <[email protected]> Co-authored-by: Michael Hoffman <[email protected]> Co-authored-by: Patrick Brosset <[email protected]>
1 parent 6896864 commit ddb7cc6

File tree

9 files changed

+21
-19
lines changed

9 files changed

+21
-19
lines changed
977 Bytes
Loading
186 KB
Loading
262 Bytes
Loading
186 KB
Loading
150 KB
Loading
168 KB
Loading
79.3 KB
Loading
186 KB
Loading

microsoft-edge/devtools-guide-chromium/storage/cookies.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: MSEdgeTeam
55
ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.prod: microsoft-edge
8-
ms.date: 05/04/2021
8+
ms.date: 09/09/2022
99
---
1010
<!-- Copyright Kayce Basques
1111
@@ -30,16 +30,15 @@ See [Using HTTP cookies](https://developer.mozilla.org/docs/Web/HTTP/Cookies).
3030
<!-- ====================================================================== -->
3131
## Open the Cookies pane
3232

33-
1. [Open DevTools](/microsoft-edge/devtools-guide-chromium/open).
33+
1. Open DevTools on the webpage you want to edit. For example, right-click the page and then select **Inspect**, or press `F12`. For additional ways, see [Open DevTools](/microsoft-edge/devtools-guide-chromium/open).
3434

35-
1. Click the **Application** tab to open the **Application** panel. The **Manifest** pane opens:
35+
2. Click the **Application** tab to open the **Application** tool. The **Manifest** pane opens:
3636

37-
![The Manifest pane.](../media/storage-application-manifest-empty.msft.png)
37+
![The Manifest pane](cookies-images/pick-application-no-manifest.png)
3838

39-
1. Under **Storage**, expand **Cookies**, then select an origin:
40-
41-
![The Cookies pane.](../media/storage-application-storage-cookies-selected.msft.png)
39+
3. Under **Storage**, expand **Cookies**, then select an origin:
4240

41+
![The Cookies pane](cookies-images/open-cookies-select-source.png)
4342

4443
<!-- ====================================================================== -->
4544
## Fields
@@ -58,43 +57,46 @@ The **Cookies** table contains the following fields:
5857

5958
* **Size**. The size, in bytes, of the cookie.
6059

61-
* **HTTP**. If true, this field indicates that the cookie should only be used over HTTP, and JavaScript modification isn't allowed. See [HttpOnly cookies](https://developer.mozilla.org/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies).
60+
* **HttpOnly**. If `true`, this field indicates that the cookie should only be used over HTTP, and JavaScript modification isn't allowed. See [HttpOnly cookies](https://developer.mozilla.org/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies).
6261

63-
* **Secure**. If true, this field indicates that the cookie must be sent to the server only over a secure, HTTPS connection. See [Secure cookies](https://developer.mozilla.org/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies).
62+
* **Secure**. If `true`, this field indicates that the cookie must be sent to the server only over a secure, HTTPS connection. See [Secure cookies](https://developer.mozilla.org/docs/Web/HTTP/Cookies#Secure_and_HttpOnly_cookies).
6463

6564
* **SameSite**. Contains `strict` or `lax` if the cookie is using the experimental [Samesite](https://developer.mozilla.org/docs/Web/HTTP/Cookies#SameSite_cookies) attribute.
6665

67-
* **Priority**. Contains `low`, `medium` (default), or `high` if the cookie is using the deprecated [cookie Priority](https://bugs.chromium.org/p/chromium/issues/detail?id=232693) attribute.
66+
* **SameParty**. This attribute provides web developers a means to annotate cookies that are allowed to be set or sent in same-party, cross-site contexts.
67+
68+
* **Partition Key**. A _partition key_ is a property or path within a document that can be used to distribute data within a document yet store the data together. Multiple pieces of data that are spread throughout a document and that have the same partition key value are logically grouped together and stored in the same physical partition.
69+
70+
* **Priority**. Contains `low`, `medium` (default), or `high` if the cookie is using the deprecated [Cookie Priority](https://bugs.chromium.org/p/chromium/issues/detail?id=232693) attribute.
6871

6972

7073
<!-- ====================================================================== -->
7174
## Filter cookies
7275

7376
To filter cookies by **Name** or **Value**, use the **Filter** text box:
7477

75-
![Filtering out any cookies that don't contain the text ID.](../media/storage-application-storage-cookies-filter-id.msft.png)
76-
77-
Filtering by other fields isn't supported.
78+
![Filtering out any cookies that don't contain the text ID](cookies-images/filter-cookies-name.png)
7879

80+
**Note:** Filtering by other fields isn't supported.
7981

8082
<!-- ====================================================================== -->
8183
## Edit a cookie
8284

8385
The **Name**, **Value**, **Domain**, **Path**, and **Expires / Max-Age** fields are editable. Double-click a field to edit it:
8486

85-
![Setting the name of a cookie to 'DEVTOOLS!'](../media/storage-application-storage-cookies-rename.msft.png)
86-
87+
![Setting the name of a cookie to 'DEVTOOLS!'](cookies-images/rename-cookie.png)
8788

8889
<!-- ====================================================================== -->
8990
## Delete cookies
9091

91-
To delete a specific cookie, click a cookie and then click **Delete Selected** (![Delete Selected.](../media/delete-icon.msft.png)):
92+
To delete a specific cookie, click a cookie and then click **Delete Selected** (![Delete Selected](cookies-images/delete-cookie-icon.png)):
93+
94+
![Deleting a specific cookie.](cookies-images/delete-selected-cookie.png)
9295

93-
![Deleting a specific cookie.](../media/storage-application-storage-cookies-delete-selected.msft.png)
96+
To delete all cookies, click **Clear all cookies** (![Clear all cookies icon](cookies-images/clear-all-cookies-icon.png)):
9497

95-
To delete all cookies, click **Clear All** (![Clear All.](../media/clear-icon.msft.png)):
98+
![Clearing all cookies](cookies-images/clear-all-cookies.png)
9699

97-
![Clearing all cookies.](../media/storage-application-storage-cookies-clear-all.msft.png)
98100

99101

100102
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)