# ElectronJS

> 无需修改源代码，即可使用 Proxyman 一键抓取 ElectronJS 应用的 HTTP/HTTPS 流量，即使应用会忽略系统代理。

## 1. 问题 {#1-problem}

许多 ElectronJS 应用会忽略系统 HTTP 代理，因此 Proxyman 无法抓取它们的 HTTP/HTTPS 流量 :x:

## 2. 解决方案 {#2-solution}

需要 Proxyman macOS 6.7.0 或更高版本：

* 抓取 ElectronJS 应用的 HTTP/HTTPS 流量
* 一键设置
* 无需修改源代码，开箱即用 :white\_check\_mark:

## 3. 使用方法 {#3-how-to-use}

1. 启动 Proxyman 应用：请确保已在 Mac 上安装并信任 Proxyman 证书。如果尚未安装，请按照 Certificate Menu -> Install Certificate on this Mac -> Automatic Tab 中的指引操作。
2. 打开 Setup Menu -> Automatic Setup
3. 点击 “Select ElectronJS App…” 按钮，然后选择要抓取的应用（请先退出该 Electron 应用）
4. 完成 :white\_check\_mark:

![Proxyman Automatic Setup 窗口，包含 ElectronJS App 区域和 Select ElectronJS App 按钮](https://proxyman.com/docs/assets/Screenshot%202026-03-02%20at%2016.11.10.jpg)

## 了解更多 {#learn-more}

* [使用 Proxyman 抓取 ElectronJS 应用的 HTTP/HTTPS 流量](https://proxyman.com/electron)（Proxyman 官网）
