# Hướng dẫn lấy Cookie bằng Extension Cookie Editor

### 1. Giới thiệu

Trong một số trường hợp (test, automation, debug…), bạn có thể cần lấy cookie từ trình duyệt. Extension **Cookie Editor** là một công cụ đơn giản giúp bạn xem, chỉnh sửa và sao chép cookie nhanh chóng.

***

### 2. Cài đặt Cookie Editor

#### Bước 1: Truy cập Chrome Web Store

* Mở trình duyệt Chrome
* Vào Chrome Web Store: <https://chromewebstore.google.com/>

<figure><img src="/files/EhulDFegCp4OjlZCqu9b" alt=""><figcaption></figcaption></figure>

#### Bước 2: Tìm extension

* Gõ từ khóa: `Cookie Editor`
* Chọn extension có tên **Cookie Editor**

<figure><img src="/files/lW7zxP8CMHjZbElVZnEP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JBaV9oo69uD42f5BsPoH" alt=""><figcaption></figcaption></figure>

#### Bước 3: Cài đặt

* Nhấn **Add to Chrome (Thêm vào Chrome)**
* Xác nhận cài đặt

<figure><img src="/files/53Sp86KHCkfFXs6tECzK" alt=""><figcaption></figcaption></figure>

Sau khi cài xong, bạn sẽ thấy icon extension xuất hiện trên thanh công cụ.

<figure><img src="/files/3KueemWboiUpMOJHDFEk" alt=""><figcaption></figcaption></figure>

***

### 3. Cách lấy Cookie

#### Bước 1: Truy cập website cần lấy cookie

* Mở website bạn muốn lấy cookie
* Đăng nhập (nếu cần)

<figure><img src="/files/2TZSPGVM7FG77raSHDhb" alt=""><figcaption></figcaption></figure>

#### Bước 2: Mở Cookie Editor

* Click vào icon **Cookie Editor** trên thanh trình duyệt

<figure><img src="/files/n8M2G8maUvPPXEE9ZBRh" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Jqy3L7wDmcHIOP61mTuJ" alt=""><figcaption></figcaption></figure>

#### Bước 3: Xem danh sách cookie

* Một cửa sổ popup sẽ hiển thị toàn bộ cookie của website hiện tại
* Bạn sẽ thấy các thông tin như:
  * Name (Tên cookie)
  * Value (Giá trị)
  * Domain
  * Path
  * Expiration

<figure><img src="/files/3l7U7dNOqvg1wE81EwvZ" alt=""><figcaption></figcaption></figure>

#### Bước 4: Sao chép cookie

* Nhấn nút **Export** hoặc **Copy**
* Chọn định dạng (JSON / Netscape / String)
* Dán vào nơi bạn cần

<figure><img src="/files/E8lr5zfEEmBE31SqyOES" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/B1nd0BbJXxvh27f3XsSf" alt=""><figcaption></figcaption></figure>

***

### 4. Lưu ý quan trọng

* Không chia sẻ cookie cho người khác → có thể bị chiếm quyền tài khoản
* Cookie thường chứa thông tin đăng nhập
* Chỉ sử dụng cho mục đích học tập, test hoặc công việc hợp lệ


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.func.vn/huong-dan-mo-rong/huong-dan-lay-cookie-bang-extension-cookie-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
