cdp-tunnel 2.10.8 → 2.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -26
- package/extension-new/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,45 +55,40 @@
|
|
|
55
55
|
|
|
56
56
|
## Quick Start
|
|
57
57
|
|
|
58
|
-
### Option 1: Install
|
|
58
|
+
### Option 1: Install Extension Only (No npm needed)
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
# Install globally
|
|
62
|
-
npm install -g cdp-tunnel
|
|
63
|
-
|
|
64
|
-
# Start server
|
|
65
|
-
cdp-tunnel start
|
|
60
|
+
Download and install the Chrome extension directly:
|
|
66
61
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
62
|
+
1. Download [`cdp-tunnel-extension.zip`](https://github.com/dyyz1993/cdp-tunnel/releases/latest/download/cdp-tunnel-extension.zip) from the latest release
|
|
63
|
+
2. Unzip it
|
|
64
|
+
3. Open `chrome://extensions/` in Chrome
|
|
65
|
+
4. Enable **Developer mode** (top right)
|
|
66
|
+
5. Click **Load unpacked** → select the unzipped folder
|
|
67
|
+
6. Start the proxy server separately (see Option 2 or 3 below)
|
|
73
68
|
|
|
74
|
-
### Option 2:
|
|
69
|
+
### Option 2: Install via npm (Recommended)
|
|
75
70
|
|
|
76
|
-
|
|
71
|
+
```bash
|
|
72
|
+
# One command to set up everything
|
|
73
|
+
npx cdp-tunnel setup
|
|
77
74
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
75
|
+
# Or install globally
|
|
76
|
+
npm install -g cdp-tunnel
|
|
77
|
+
cdp-tunnel setup # Start server + auto-load extension into Chrome
|
|
78
|
+
cdp-tunnel status # Check status
|
|
79
|
+
cdp-tunnel diagnose # Diagnose connection issues
|
|
80
|
+
```
|
|
84
81
|
|
|
85
82
|
### Option 3: Manual Installation
|
|
86
83
|
|
|
87
84
|
#### 1. Start the Proxy Server
|
|
88
85
|
|
|
89
86
|
```bash
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
npx cdp-tunnel start
|
|
88
|
+
# or manually:
|
|
89
|
+
npx cdp-tunnel start -p 9221
|
|
93
90
|
```
|
|
94
91
|
|
|
95
|
-
The server will start on `localhost:9221`.
|
|
96
|
-
|
|
97
92
|
#### 2. Install Chrome Extension
|
|
98
93
|
|
|
99
94
|
1. Open `chrome://extensions/`
|
package/package.json
CHANGED