# 设置用户代理 (Set user agent)

当您想要更改活动标签页的用户代理时，可以使用此按钮。此节点仅更改活动标签页的用户代理，而不是整个账号资料的用户代理。

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

<table><thead><tr><th width="258">参数</th><th>说明</th></tr></thead><tbody><tr><td>User agent</td><td>输入您要更改的用户代理</td></tr></tbody></table>

我们有以下示例：

* 如图所示，有 3 个标签页，活动标签页是 3 号标签页

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

* 例如，如果要设置用户代理 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36，那么在设置用户代理节点，我们输入用户代理

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

* 然后我们运行脚本。
* 我们将在这里检查用户代理：

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

这样我们就成功设置了用户代理。


---

# 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/zi-dong-hua-yong-hu-shou-ce/shu-ju-data/she-zhi-yong-hu-dai-li-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.
