> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
