> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/web-unblocker/custom-browser-instructions.md).

# 自定义浏览器指令

概览使用网页解锁器进行浏览器自动化，以渲染 JavaScript 并与网页交互。

自定义浏览器指令是 [**网页解锁器**](/products/cn/web-unblocker.md)的免费功能。它与一个无头网页浏览器配合使用，该浏览器可以加载并渲染网页，执行 [**JavaScript**](/products/cn/web-unblocker/custom-browser-instructions/javascript-rendering.md)，并像普通浏览器一样操作 DOM（文档对象模型），从而执行各种 [**浏览器指令**](/products/cn/web-unblocker/custom-browser-instructions/browser-instructions-beta.md) ，例如点击、滚动、输入、等待等。了解更多：

{% content-ref url="/pages/47461b111c679b1f7e4128e564285459ea04f52f" %}
[JavaScript 渲染](/products/cn/web-unblocker/custom-browser-instructions/javascript-rendering.md)
{% endcontent-ref %}

{% content-ref url="/pages/97a5433f787050a53b231928ba162b56f6d5c012" %}
[浏览器指令（Beta）](/products/cn/web-unblocker/custom-browser-instructions/browser-instructions-beta.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/web-unblocker/custom-browser-instructions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
