# Oxy® Proxy Extension for Chrome

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

本快速指南介绍如何集成 Oxylabs [**自助式独享数据中心代理**](https://oxylabs.io/products/datacenter-proxies/dedicated-datacenter-proxies).

### 设置

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

<figure><img src="/files/f59e374cbd564681fddf85afeaf447a898dee54a" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/2c068120666f08a6952ef78844ecc94c6d6b354d" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

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

请按如下方式填写详细信息：

<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 %}
{% endstep %}

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

<figure><img src="/files/849d7a8e663a4560dd1dbe84293f8e87fd34cc84" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
如第一步所示打开扩展程序，然后点击 **连接**.

<figure><img src="/files/5301295a881806016d0bd60db5f4de1c52720d38" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

就是这样。您现在正在使用会自动轮换 IP 地址的代理。

### 地理位置设置

使用代理轮换（端口 `8000`），你可以通过添加一个 `country-` 参数到你的用户名字符串中。例如，要轮换通过美国代理，请按以下格式输入你的用户名： `user-USERNAME-country-US`。查看你的 [代理列表](broken://pages/c15b9796b97ccb979daeedccf6fd1971753445a2) 以查找可用位置。

### 静态会话

您也可以对多个请求使用相同的代理 IP 地址。端口 `8000` 将始终轮换通过你的代理列表，同时通过端口连接 `8001` 连接时则使用分配给该端口的 IP。要切换 IP，请将端口更改为 `8002`, `8003`，等等。您可以在您的 [代理列表](https://dashboard.oxylabs.io/?route=/overview/dedicated-datacenter-proxies/proxy-lists).

让我们添加一个使用端口 `8001`:

<figure><img src="/files/8ba077ee4bdf1d7456648070d0392a08ee017e40" alt=""><figcaption></figcaption></figure>

保存更改后，打开扩展程序窗口并连接到新创建的代理。

<figure><img src="/files/668de0cc2b6a88e73b3c5ddf9143573f82497c8c" alt="" width="375"><figcaption></figcaption></figure>

### 全局绕过列表

如果您不希望在访问特定网站时使用代理，可以将它们添加到绕过列表中。打开扩展程序，点击 **管理代理**，然后打开 **全局绕过列表**.&#x20;

<figure><img src="/files/26b9996e99e6e5d4b9c634534948ee9444d61167" alt=""><figcaption></figcaption></figure>

例如，如果您想在访问以下网站时跳过使用代理： `https://ip.oxylabs.io/`，请按如下方式输入地址： `https://ip.oxylabs.io` 或 `ip.oxylabs.io`。访问该网站后，您应该看到的是您的常规 IP 地址，而不是代理 IP。

{% hint style="warning" %}
保存更改后，请断开并重新连接代理，以启用绕过列表。
{% endhint %}

### 常见错误

请使用下方列出的故障排除步骤，修复在使用 Oxylabs 或其他提供商的代理时常见的扩展程序错误。

<details>

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

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

</details>

<details>

<summary>代理凭据不正确</summary>

验证您输入的代理 **用户名** 并 **密码** 是否正确，并且与您的代理提供商分配的凭据相匹配。

对于 Oxylabs 自助式独享数据中心代理，请确保你使用的是 **代理用户的** 用户名和密码，这些信息是您在 Oxylabs [控制面板](https://dashboard.oxylabs.io/)中创建的。您始终可以在控制面板中通过前往以下位置来编辑这些凭据： **我的产品** → **数据中心代理** → [**用户**](https://dashboard.oxylabs.io/?route=/overview/dedicated-datacenter-proxies/users).

</details>

<details>

<summary>未追加时用户名无效 <code>user-</code></summary>

Oxylabs 数据中心代理 **要求您在代理用户的用户名后追加** 该 `user-` 字符串。例如，如果您的用户名是 `john_TFTdL`，那么您必须将用户名输入为 `user-john_TFTdL`.

</details>

<details>

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

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

Oxylabs 自助式独享数据中心代理的有效域名地址是 `ddc.oxylabs.io` 以及端口 `8000`。请查看 [有效端口完整列表](https://dashboard.oxylabs.io/?route=/overview/dedicated-datacenter-proxies/proxy-lists) ，位于控制面板中。您可以查看 [文档](broken://pages/c15b9796b97ccb979daeedccf6fd1971753445a2) 以了解更多。

</details>

<details>

<summary>代理端口超出范围</summary>

请验证您输入的 **代理端口没有超出范围**。对于 Oxylabs 自助式独享数据中心代理，请访问仪表板以查找你的 [带有分配端口号的代理列表](https://dashboard.oxylabs.io/?route=/overview/dedicated-datacenter-proxies/proxy-lists).

</details>

<details>

<summary>扩展程序无法工作</summary>

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

</details>

<details>

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

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

</details>

本指南也适用于 [数据中心代理](/integrations/cn/proxy-integrations/datacenter-proxies-guides/oxy-proxy-extension-for-chrome.md), [住宅代理](/integrations/cn/proxy-integrations/residential-proxies-guides/oxy-proxy-extension-for-chrome.md), [ISP代理](/integrations/cn/proxy-integrations/isp-proxies-guides/oxy-proxy-extension-for-chrome.md), [移动代理](/integrations/cn/proxy-integrations/mobile-proxies-guides/oxy-proxy-extension-for-chrome-1.md)，以及 [企业独享数据中心代理](https://developers.oxylabs.io/proxies/integration-guides/3rd-party-integrations-1-1/enterprise/oxy-proxy-manager).

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


---

# 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://developers.oxylabs.io/integrations/cn/proxy-integrations/dedicated-datacenter-proxies-guides/self-service/oxy-proxy-extension-for-chrome.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.
