# Set user agent

When you want to change the user agent of an active tab, you can use this button. This node only changes the user agent of the active tab, not the user agent of the entire profile.

Khi bạn muốn thay đổi user agent của tab đang active thì có thể sử dụng node này. Node này chỉ thay đổi user agent của tab đang active, chứ không thay đổi user agent của cả profile.

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

| parameter  | illustrate                      |
| ---------- | ------------------------------- |
| User agent | Nhập user agent mà bạn muốn đổi |

Ta có ví dụ như sau:

* &#x20;Có 3 tab như hình, và tab active đang là tab số 3

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

* Ví dụ muốn set user agent **Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36**  thì tại node set user agent ta thực hiện nhập user agent&#x20;

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

* Sau đó ta chạy script.
* Ta sẽ kiểm tra user agent tại đây:

<figure><img src="/files/4l9xkOYG2ZQyNkOyYmnP" alt=""><figcaption></figcaption></figure>

Như vậy ta đã set user agent thành công.


---

# 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.hidemium.io/automation-user-manual/data/set-user-agent.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.
