# Oxy® Proxy Extension for Chrome

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

本快速指南介绍如何集成 Oxylabs [**移动代理**](https://oxylabs.io/products/mobile-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>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 %}
{% endstep %}

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

<figure><img src="/files/8ad33ebbd2f02b7b260b3d88b4dbea440809e282" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

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

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

### 地理位置设置

移动代理在你修改主机、端口或用户名并附加额外参数时，可让你精细控制地理位置（国家、州/省、市等）。请查看下面的示例：

<table><thead><tr><th width="155.90625">代理参数</th><th>示例</th></tr></thead><tbody><tr><td><a href="https://developers.oxylabs.io/proxies/mobile-proxies/location-settings/country#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="/pages/af0211e0b8a096878c3b8eb6ad0d9550b7406d45">国家</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cc-DE</code></td></tr><tr><td><a href="/pages/271e1d0c55a3aa6839c4a3cf9913a4a95b82312a">城市</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cc-US-city-los_angeles</code></td></tr><tr><td><a href="/pages/99ebe44e66f030d508eabc0956e9b983152559a1">州</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-st-us_california</code></td></tr><tr><td><a href="/pages/81932c1f0771ac94cf1cbaf95ae14c3080daa34f">洲</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-cn-NA</code></td></tr><tr><td><a href="/pages/d9023137dc57607558dd8a3eb36b0a5760119cd6">ASN 定向</a></td><td><strong>用户名：</strong> <code>customer-USERNAME-ASN-21928</code></td></tr></tbody></table>

### 静态会话

[粘性国家/地区特定入口](broken://pages/8ef9411968cc57618b61819989e2011d23021b37) 可让你在最长 10 分钟内使用同一个 IP 地址。例如，如果你输入 `us-pr.oxylabs.io` 作为 **域名** 并 `10001` 作为 **端口**，你将获得带有粘性会话的美国出口节点。

此外，你还可以 [控制你的会话](broken://pages/1157f191a0de4ae34eab4c72e64c033dec2a6bf9) 方法是将一个随机的字母数字字符串分配给 `sessid-` 参数。该参数必须 **附加到你的用户名后面**，例如， `customer-USERNAME-sessid-123`:

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

{% hint style="success" %}
通过这种方法，你可以使用同一个 IP 地址 **最长 1440 分钟** （24 小时），只需添加 `sesstime` 参数，例如： `customer-USERNAME-sessid-123-sesstime-1440`.
{% endhint %}

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

<figure><img src="/files/018623916546e23fc0b9bbbac8ba9f44794a0a5d" 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/mobile-proxies/users).

</details>

<details>

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

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

</details>

<details>

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

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

Oxylabs 移动代理的有效域名地址是 `pr.oxylabs.io` 以及端口 `7777`。请通过访问[ 特定国家的入口点](https://developers.oxylabs.io/proxies/mobile-proxies/location-settings/country#table-of-entry-points) 并 [粘性入口点](broken://pages/8ef9411968cc57618b61819989e2011d23021b37) 页面，在我们的文档中查看有效端口。

</details>

<details>

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

请验证您输入的 **代理端口没有超出范围**。对于 Oxylabs 移动代理，请参考这些列表 [特定国家的入口点](https://developers.oxylabs.io/proxies/mobile-proxies/location-settings/country#table-of-entry-points) 并 [粘性入口点](broken://pages/8ef9411968cc57618b61819989e2011d23021b37).

</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/dedicated-datacenter-proxies-guides/enterprise/oxy-proxy-manager.md) 并 [自助式独享数据中心代理](/integrations/cn/proxy-integrations/dedicated-datacenter-proxies-guides/self-service/oxy-proxy-extension-for-chrome.md).

您还可以查看我们免费的 [**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/mobile-proxies-guides/oxy-proxy-extension-for-chrome-1.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.
