> 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/ghost-browser.md).

# Ghost Browser

使用 Oxylabs 代理配置 Ghost Browser 以进行多账号登录。使用本设置指南在一个窗口中管理多个会话。

[**Ghost Browser**](https://ghostbrowser.com/) 是一款基于 Chromium 构建的开源浏览器。它支持用户在一个窗口中使用多个账户登录任意网站。请按照以下分步指南，使用以下 Oxylabs 代理设置 Ghost Browser：

* 住宅代理和移动代理
* 数据中心代理
* 独享数据中心代理（企业版）
* 独享数据中心代理（自助服务）
* ISP代理

### **步骤 1**

[**下载**](https://ghostbrowser.com/download/) 并打开 Ghost Browser。

### **步骤 2**

点击 **浏览器设置** ，位于浏览器左下角。

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

### **步骤 3**

打开后，向下滚动并点击 **高级**.

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

### **步骤 4**

找到底部的 **系统** 部分，然后点击 **打开你电脑的代理设置**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-603aa1c6c10de01c51442802b1177d5f09d01f32%2FComputer-proxy-settings.png?alt=media" alt="Open your computer&#x27;s proxy settings"><figcaption></figcaption></figure>

### **步骤 5**

选择 **局域网设置** 在 **连接** 选项卡中的 **Internet 属性** 窗口。

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

### **步骤 6**

在 **代理服务器**下，选择 **为你的局域网使用代理服务器**.

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-988c784bb352655aab21524ff2d01f3aa4c393bc%2FProxy-server-OK.png?alt=media" alt="LAN Settings"><figcaption></figcaption></figure>

然后输入你所选代理类型的详细信息：

<table><thead><tr><th width="161">代理类型</th><th width="275">详情</th><th>附加信息</th></tr></thead><tbody><tr><td>住宅/移动</td><td><p><strong>地址：</strong> <code>pr.oxylabs.io</code></p><p><strong>端口：</strong> <code>7777</code><br><strong>用户名：</strong> <code>customer-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p></td><td>你还可以使用 <strong>附加参数</strong> 与住宅代理和移动代理一起设置地理位置（国家、州、省、市等）并控制会话。请查看 <a href="/products/cn/proxies/residential-proxies.md">住宅代理文档</a> 以了解更多。</td></tr><tr><td>企业独享数据中心代理</td><td><p><strong>地址：</strong> 一个特定的 IP 地址（例如， <code>1.2.3.4</code>)</p><p><strong>端口：</strong> <code>60000</code> (HTTP), <code>1180</code> (SOCKS5)<br><strong>用户名：</strong> <code>USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p></td><td>对于企业独享数据中心代理，你必须从已获取的 <a href="/products/cn/proxies/dedicated-datacenter-proxies/enterprise/proxy-lists.md">代理列表</a>.</td></tr><tr><td>独享数据中心代理（自助服务）</td><td><p><strong>地址：</strong> <code>ddc.oxylabs.io</code></p><p><strong>端口：</strong> <code>8001</code><br><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p></td><td>对于自助服务独享数据中心代理，端口表示来自已获取 <a href="/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-list.md">代理列表</a>的 IP 地址的顺序编号。如果你希望每个请求都获得不同的 IP，请将端口改为 <code>8000</code> 以启用 <a href="/products/cn/proxies/dedicated-datacenter-proxies/self-service/proxy-rotation.md">代理轮换</a>.</td></tr><tr><td>数据中心代理</td><td><p><strong>地址：</strong> <code>dc.oxylabs.io</code></p><p><strong>端口：</strong> <code>8001</code><br><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p></td><td><p>对于 <strong>按 IP 计费</strong> 订阅方案，端口是分配给来自 <a href="/products/cn/proxies/datacenter-proxies/proxy-list.md">代理列表</a>的 IP 地址的顺序编号。因此，端口 <code>8001</code> 将始终使用你列表中的第一个 IP 地址。你也可以通过将端口设置为 <a href="/products/cn/proxies/datacenter-proxies/ip-control.md">代理 IP 轮换</a> 来启用 <code>8000</code>。此外，你可以指定 <a href="/products/cn/proxies/datacenter-proxies/select-country.md">地理位置</a>，例如美国，方法是将 <strong>代理用户名</strong> 设置为 <code>user-USERNAME-country-US</code>.</p><p>对于 <strong>按流量计费</strong> 订阅方案，端口 <code>8001</code> 会随机选择一个 IP 地址，但在会话期间保持一致。或者，你可以通过使用端口 <a href="/products/cn/proxies/datacenter-proxies/ip-control.md">轮换代理 IP</a> 来在每个请求中更换 IP <code>8000</code>。如果你想使用一个特定的 <a href="/products/cn/proxies/datacenter-proxies/select-country.md">地理位置</a>，例如美国，请将 <strong>代理用户名</strong> 设置为 <code>user-USERNAME-country-US</code>.</p></td></tr><tr><td>ISP代理</td><td><p><strong>地址：</strong> <code>isp.oxylabs.io</code></p><p><strong>端口：</strong> <code>8001</code><br><strong>用户名：</strong> <code>user-USERNAME</code></p><p><strong>密码：</strong> <code>PASSWORD</code></p></td><td><p>对于 ISP 代理，端口会分配给一个特定的 IP 地址及其位置。因此，端口 <code>8001</code> 将始终选择你 <a href="/products/cn/proxies/isp-proxies/proxy-list.md">代理列表</a>.</p><p>中的第一个 IP。如果你希望每个请求都获得不同的 IP，请将端口改为 <code>8000</code> 以启用 <a href="/products/cn/proxies/isp-proxies/proxy-rotation.md">代理轮换</a>.</p></td></tr></tbody></table>

### **步骤 7**

在 Ghost Browser 中打开一个新标签页，然后输入你的代理 `用户名` 和 `密码` 并点击 **登录**.

{% hint style="info" %}
使用你在 `用户名` 和 `密码` 中创建新代理用户时输入的相同 [Oxylabs 仪表板](https://dashboard.oxylabs.io/en/).
{% endhint %}

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

{% hint style="warning" %}
**注意：** 别忘了根据你使用的代理类型，在用户名中添加 `customer-` 或 `user-` 前缀。
{% endhint %}

就是这样！你已成功将 Oxylabs 代理集成到 Ghost Browser 中。在浏览网页前，别忘了检查你的 IP 地址。

请在此查看原始 Ghost Browser 集成博客文章 [这里](https://oxylabs.io/resources/integrations/ghost-browser).


---

# 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/integrations/cn/proxy-integrations/ghost-browser.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.
