cdp-tunnel 2.10.3 → 2.10.5
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
CHANGED
|
@@ -71,15 +71,16 @@ cdp-tunnel status
|
|
|
71
71
|
cdp-tunnel extension
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
### Option 2: Download from GitHub Releases
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
### Option 2: Download Extension from GitHub Releases
|
|
75
|
+
|
|
76
|
+
**Download Extension:** [cdp-tunnel-extension.zip (v2.10.3)](https://github.com/dyyz1993/cdp-tunnel/releases/tag/v2.10.3)
|
|
77
|
+
|
|
78
|
+
1. Download `cdp-tunnel-extension.zip` from the latest [GitHub Releases](https://github.com/dyyz1993/cdp-tunnel/releases)
|
|
79
|
+
2. Unzip the file
|
|
80
|
+
3. Open `chrome://extensions/` in Chrome
|
|
81
|
+
4. Enable "Developer mode"
|
|
82
|
+
5. Click "Load unpacked"
|
|
83
|
+
6. Select the unzipped extension directory
|
|
83
84
|
|
|
84
85
|
### Option 3: Manual Installation
|
|
85
86
|
|
|
@@ -334,6 +334,7 @@ var SpecialHandler = (function() {
|
|
|
334
334
|
Logger.info('[TabGroup] chrome.tabs.group returned groupId:', groupId);
|
|
335
335
|
EventBuilder.send('CDPTunnel.debug', { source: 'doGroup', phase: 'groupCreated', tabId: tabId, groupId: groupId }, null, wsManager);
|
|
336
336
|
if (groupId) {
|
|
337
|
+
if (state) state.setGroupIdForClient(clientId, groupId);
|
|
337
338
|
if (chrome.tabGroups) {
|
|
338
339
|
chrome.tabGroups.update(groupId, {
|
|
339
340
|
title: baseName,
|
|
@@ -344,14 +345,12 @@ var SpecialHandler = (function() {
|
|
|
344
345
|
Logger.error('[TabGroup] Failed to update group:', chrome.runtime.lastError.message);
|
|
345
346
|
EventBuilder.send('CDPTunnel.debug', { source: 'doGroup', phase: 'updateGroup', error: chrome.runtime.lastError.message, groupId: groupId }, null, wsManager);
|
|
346
347
|
} else {
|
|
347
|
-
if (state) state.setGroupIdForClient(clientId, groupId);
|
|
348
348
|
updateTabGroupName(clientId, state, wsManager, context ? context.mode : null);
|
|
349
349
|
Logger.info('[TabGroup] Group updated:', groupId, baseName);
|
|
350
350
|
}
|
|
351
351
|
if (callback) callback(true);
|
|
352
352
|
});
|
|
353
353
|
} else {
|
|
354
|
-
if (state) state.setGroupIdForClient(clientId, groupId);
|
|
355
354
|
Logger.info('[TabGroup] Group created but tabGroups.update unavailable (headless):', groupId);
|
|
356
355
|
if (callback) callback(true);
|
|
357
356
|
}
|
|
@@ -241,7 +241,6 @@ var WebSocketConnection = (function() {
|
|
|
241
241
|
Logger.info('[WS:' + self.connectionId + '] Client connected, resuming event forwarding');
|
|
242
242
|
self.state.setHasConnectedClient(true);
|
|
243
243
|
self.state.addCDPClient(message.clientId, message.clientId);
|
|
244
|
-
self._createGroupForClient(message.clientId, message.__mode);
|
|
245
244
|
self._broadcastStateUpdate();
|
|
246
245
|
break;
|
|
247
246
|
|
package/package.json
CHANGED