> 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/integrations/cn/proxy-integrations/oxy-proxy-extension-for-chrome.md). Agents can also search and read this documentation through its [MCP server](https://developers.oxylabs.io/~gitbook/mcp).

# Oxy® Proxy Extension for Chrome

Oxy® Proxy Extension for Chrome 与 Oxylabs 代理的设置——快速集成指南。适用于任何提供商的免费代理管理器。

[**Oxy**® **代理扩展**](https://oxylabs.io/products/chrome-proxy-extension) 这是一个适用于 Chrome 的代理管理扩展。它是免费的，可与你选择的任何代理提供商配合使用。

本快速指南展示如何集成以下 Oxylabs 代理：

* [**住宅和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**独享数据中心代理（企业版）**](#dedicated-datacenter-proxies-enterprise)
* [**独享数据中心代理（自助版）**](#dedicated-datacenter-proxies-self-service)
* [**ISP代理**](#isp-proxies)
* [**独享ISP代理**](#dedicated-isp-proxies)

### 设置

{% stepper %}
{% step %}
[**下载**](https://chrome.google.com/webstore/detail/oxylabs-proxy-extension/infajoaodhhdogakhloedbppcbeajhoo) 然后点击扩展图标打开应用。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-31071ad50bef4d09d1718c64b77869ab74245df2%2Foxy-extension-1.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
点击 **+添加新代理** 按钮。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-b0a29fc8f469a4c2ffdbef10e3b61a1b19cdefa2%2Foxy-extension-2.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
将打开一个新标签页，你可以在其中 **设置你的代理配置文件**.

填写你所选代理类型的详细信息：

* [**住宅和移动代理**](#residential-and-mobile-proxies)
* [**数据中心代理**](#datacenter-proxies)
* [**独享数据中心代理（企业版）**](#dedicated-datacenter-proxies-enterprise)
* [**独享数据中心代理（自助版）**](#dedicated-datacenter-proxies-self-service)
* [**ISP代理**](#isp-proxies)
* [**独享ISP代理**](#dedicated-isp-proxies)

#### 住宅和移动代理

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code> 或 <code>HTTPS</code></td></tr><tr><td><strong>域名</strong></td><td><code>pr.oxylabs.io</code></td></tr><tr><td><strong>端口</strong></td><td><code>7777</code></td></tr><tr><td><strong>用户名</strong></td><td><code>customer-USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

{% hint style="warning" %}
请务必添加 `customer-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-0aeb88bc128eb08694f896f3f10c89ee44f8ff8d%2Fpr-oxy-1.png?alt=media" alt=""><figcaption></figcaption></figure>

你还可以使用 **附加参数** 与住宅和移动代理一起使用，以设置地理位置（国家、州、城市等）并控制会话。请查看 [住宅代理文档](https://developers.oxylabs.io/products/cn/proxies/residential-proxies.md) 以了解更多。下表概述了可用参数及其示例值。

<table><thead><tr><th width="167">代理参数</th><th width="465.5">示例</th></tr></thead><tbody><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/c292bcb65f6b550e76b7c2f49439d9af518f96fc#country-specific-entry-nodes">国家入口节点</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10000</code></p></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/c292bcb65f6b550e76b7c2f49439d9af518f96fc">国家</a></td><td><strong>用户：</strong> <code>customer-username-cc-US</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/68cc6e740836631279999f4386a89ef010c5899b">州</a></td><td><strong>用户：</strong> <code>customer-username-st-US_texas</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/dd329be9376fffa01bdfba844759a5071d7872db">城市</a></td><td><strong>用户：</strong> <code>customer-username-city-paris</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/9bf1373b90968ca0547965cd4751aa14f465a556">大洲</a></td><td><strong>用户：</strong> <code>customer-username-cn-NA</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/bfdf0a3afe65fbda1ca6cf303d65768f6ed74b7c">ZIP/邮政编码</a></td><td><strong>用户：</strong> <code>customer-username-cc-US-postalcode-90210</code></td></tr><tr><td><a href="broken://spaces/ZwEHB9k4MH4pDy80n9mF/pages/b618002c0b63ad684693a849568ce4234df71530">ASN 定向</a></td><td><strong>用户：</strong> <code>customer-username-ASN-21928</code></td></tr><tr><td><a href="https://developers.oxylabs.io/products/cn/proxies/residential-proxies/session-control.md">会话</a></td><td><strong>用户：</strong> <code>customer-username-sessid-qwerty123-sesstime-30</code></td></tr><tr><td><a href="https://developers.oxylabs.io/products/cn/proxies/residential-proxies/session-control.md#session-time">会话时间</a></td><td><p><strong>主机：</strong> <code>us-pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>10001</code></p></td></tr></tbody></table>

#### 数据中心代理

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code> 或 <code>HTTPS</code></td></tr><tr><td><strong>域名</strong></td><td><code>dc.oxylabs.io</code></td></tr><tr><td><strong>端口</strong></td><td><code>8000</code></td></tr><tr><td><strong>用户名</strong></td><td><code>user-USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

{% hint style="warning" %}
请务必添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-debd7c7f9d8859050e3a304e3c116a26e498c910%2Foxy-extension-3.png?alt=media" alt=""><figcaption></figcaption></figure>

**按 IP 计费订阅**

端口是从代理列表中分配给 IP 地址的顺序编号。因此，端口 `8001` 使用列表中的第一个 IP 地址。你也可以通过将端口设置为 `8000`.

此外，你可以通过将代理用户名设置为来指定地理位置，例如美国， `user-USERNAME-country-US`.

**按流量计费订阅**

端口 `8001` 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你可以通过使用端口在每次请求时轮换代理 IP `8000`.

你也可以通过将代理用户名设置为来指定地理位置，例如美国， `user-USERNAME-country-US`.

#### 独享数据中心代理（企业版）

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code></td></tr><tr><td><strong>域名</strong></td><td><code>1.2.3.4</code> （示例）</td></tr><tr><td><strong>端口</strong></td><td><code>60000</code></td></tr><tr><td><strong>用户名</strong></td><td><code>USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-885f3835d1d1faa393ae4d94f28a05aeed64b2b8%2Feddc-oxy-1.png?alt=media" alt=""><figcaption></figcaption></figure>

对于 Enterprise 独享数据中心代理，你必须从已获取的列表中选择一个 IP 地址。此外，如果你正在使用 **已列入白名单的 IP 地址**，你将需要使用端口 `65432`。访问我们的 [文档](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md) 了解更多详情。

#### 独享数据中心代理（自助版）

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code> 或 <code>HTTPS</code></td></tr><tr><td><strong>域名</strong></td><td><code>ddc.oxylabs.io</code></td></tr><tr><td><strong>端口</strong></td><td><code>8000</code></td></tr><tr><td><strong>用户名</strong></td><td><code>user-USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

{% hint style="warning" %}
请务必添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-3ece358046fc6dab92ae41e986a311f48745a232%2Fssddc-oxy-1.png?alt=media" alt=""><figcaption></figcaption></figure>

对于自助式独享数据中心代理，端口表示从已获取的 [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-list.md)。如果你想让每个请求都获取不同的 IP，请更改 **端口** 设置为 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-rotation.md).

#### ISP代理

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code> 或 <code>HTTPS</code></td></tr><tr><td><strong>域名</strong></td><td><code>isp.oxylabs.io</code></td></tr><tr><td><strong>端口</strong></td><td><code>8000</code></td></tr><tr><td><strong>用户名</strong></td><td><code>user-USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

{% hint style="warning" %}
请务必添加 `user-` 部分到你的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-1acb7f74a9d7f08416253c5de3e32ea4e95d2a52%2Fisp-oxy-1.png?alt=media" alt=""><figcaption></figcaption></figure>

对于 ISP 代理，端口会分配给特定的 IP 地址及其位置。因此，端口 `8001` 将始终选取你 [代理列表](https://developers.oxylabs.io/proxies/isp-proxies/proxy-list).

如果你想让每个请求使用不同的 IP，请将端口改为 `8000` 以启用 [代理轮换](https://developers.oxylabs.io/proxies/isp-proxies/proxy-rotation).

#### 独享ISP代理

<table data-header-hidden data-full-width="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>名称</strong></td><td><code>项目名称</code></td></tr><tr><td><strong>协议</strong></td><td><code>HTTP</code>, <code>HTTPS</code>，或 <code>SOCKS5</code></td></tr><tr><td><strong>域名</strong></td><td><code>disp.oxylabs.io</code></td></tr><tr><td><strong>端口</strong></td><td><code>8001</code></td></tr><tr><td><strong>用户名</strong></td><td><code>user-USERNAME</code></td></tr><tr><td><strong>密码</strong></td><td><code>PASSWORD</code></td></tr></tbody></table>

{% hint style="warning" %}
请务必添加 `user-` 前缀到您的用户名中。
{% endhint %}

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-57aee4fb98e3c1521430717caea2e58bcf92cc9c%2Foxy-1.png?alt=media" alt=""><figcaption></figcaption></figure>

端口号表示你已购买的代理中的哪个 IP 地址 [代理列表](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-list.md) 中将使用的 IP 地址。使用端口 `8000` 用于自动 [代理 IP 轮换](https://developers.oxylabs.io/products/cn/proxies/dedicated-isp-proxies/self-service/proxy-rotation.md).
{% endstep %}

{% step %}
点击 **保存更改**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-ac8c66ae309252e8f350bb5df8b08b1a75185e4d%2FScreenshot%202026-08-10%20at%2005.34.35.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
按照第一步所示打开扩展并点击 **连接**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-722d952bce370c23a219f4888fdcaa1f17abf73a%2Fpr-oxy-2.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

好了。你现在正在通过 Oxylabs 代理使用互联网连接。

### 白名单

如果你不想在访问特定网站时使用代理，可以将它们添加到白名单。打开扩展，点击 **管理代理**，然后打开 **全局绕过列表**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-baad5f504ea5c0bce922e3864ddce0a5c95bbd46%2Foxy-extension-7.png?alt=media" alt=""><figcaption></figcaption></figure>

例如，如果你想在访问 `https://ip.oxylabs.io/`时跳过使用代理，你应这样输入地址： `https://ip.oxylabs.io` 或 `ip.oxylabs.io`。一旦你访问此网站，你应看到你的常规 IP 地址，而不是代理 IP。

{% hint style="warning" %}
保存更改后，断开并重新连接代理以启用白名单。
{% endhint %}

### 常见错误

使用下面列出的故障排除步骤来修复使用 Oxylabs 或其他提供商的代理时常见的扩展错误。

<details>

<summary><strong>代理无法连接</strong></summary>

尝试 **断开连接** 和 **重新连接** 你在扩展中的代理。如果问题仍然存在，请继续执行下面的下一步。

</details>

<details>

<summary><strong>代理凭据错误</strong></summary>

验证代理 **username** 和 **password** 你输入的内容是否正确，并与代理提供商分配的凭据匹配。

对于 Oxylabs 住宅代理，请确保你使用的是 **代理用户的** 用户名和密码，这些是你在 Oxylabs 中创建的 [仪表板](https://dashboard.oxylabs.io/)。你始终可以在控制面板中通过进入以下位置编辑这些凭据： **我的产品** → **数据中心代理** → [**用户**](https://dashboard.oxylabs.io/?route=/overview/residential-proxies/users).

</details>

<details>

<summary><strong>没有前缀的无效用户名 <code>customer-</code> 或 <code>user-</code> 前缀</strong></summary>

Oxylabs **住宅代理要求你追加** 该 `customer-` 字符串到代理用户的用户名后。例如，如果你的用户名是 `john_TFTdL`，那么你必须将用户名输入为 `customer-john_TFTdL`.

Oxylabs **ISP、Dedicated ISP、数据中心，以及自助式独享数据中心代理** **要求你追加** 该 `user-` 字符串到代理用户的用户名后。例如，如果你的用户名是 `john_TFTdL`，那么你必须将用户名输入为 `user-john_TFTdL`.

</details>

<details>

<summary><strong>无效的代理域名或端口</strong></summary>

确保你使用的是有效的代理域名和端口号 **，并且是由你的代理提供商分配的**.

可在此处找到 Oxylabs 代理各可用代理类型对应的有效域名：

* [住宅和移动代理](#residential-and-mobile-proxies)
* [数据中心代理](#datacenter-proxies)
* [独享数据中心代理（企业版）](#dedicated-datacenter-proxies-enterprise)
* [独享数据中心代理（自助版）](#dedicated-datacenter-proxies-self-service)
* [ISP代理](#isp-proxies)
* [独享ISP代理](#dedicated-isp-proxies)

</details>

<details>

<summary><strong>扩展无法正常工作</strong></summary>

如果由于某些原因扩展无法工作，请尝试 **卸载** 和 **重新安装** 它，通过 [Chrome 网上应用店](https://chromewebstore.google.com/detail/oxylabs-proxy-extension/infajoaodhhdogakhloedbppcbeajhoo) 或浏览器设置。

</details>

<details>

<summary><strong>禁用第三方 VPN</strong></summary>

如果你正在使用第三方虚拟专用网络（VPN），请将其关闭。它可能会与 Oxy® 代理扩展冲突。

</details>

你也可以查看我们适用于 Android 的免费 [**Oxy**® **代理管理器应用**](https://oxylabs.io/products/proxy-manager-app) 。它可让你轻松添加和管理代理，并通过简单的一键连接在多个 IP 之间切换。


---

# 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/integrations/cn/proxy-integrations/oxy-proxy-extension-for-chrome.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.
