Repository navigation
v1.4.0: Bilingual UI & Concurrent Multi-Browser Routing
English
Antigravity Browser Bridge v1.4.0 introduces an adaptive bilingual UI, concurrent multi-browser routing, and direct Chrome DevTools Protocol (CDP) execution.
What's New
- Bilingual Adaptive UI (i18n):
- Automatically matches browser system language (Simplified Chinese in Chinese locales, English elsewhere).
- One-click
[English / 中文]toggle in popup header, persisted locally inchrome.storage.local. - Full localization across connection status, buttons, tab details, and instructions.
- Concurrent Multi-Browser Routing:
- Refactored WebSocket server to maintain concurrent, non-interfering connections with both Microsoft Edge and Google Chrome.
- Tab-to-browser reverse mapping (
tab_to_browser) accurately dispatches CDP commands to the appropriate browser process.
- Direct CDP Execution:
- Added
cdpCLI command (py server/cli.py cdp <tabId> <method> [params_json]) andPOST /cdpHTTP endpoint to dispatch raw Chrome DevTools Protocol commands.
- Added
- Dynamic Versioning:
- Popup UI dynamically queries
chrome.runtime.getManifest().versionto prevent version desynchronization.
- Popup UI dynamically queries
Installation & Upgrade
- Download
antigravity-browser-bridge-v1.4.0.zipfrom Assets below and extract it. - In Edge (
edge://extensions/) or Chrome (chrome://extensions/), enable Developer mode. - Click Load unpacked (or click Reload if updating an existing installation).
- Run the local server:
python server/server.py.
简体中文
Antigravity Browser Bridge v1.4.0 带来弹窗中英双语自适应 UI、多浏览器并发路由以及底层 Chrome DevTools Protocol (CDP) 指令直发能力。
更新内容
- 智能中英双语自适应 UI (i18n):
- 自动匹配浏览器语言偏好(中文环境原生展示简体中文,其他语言默认展示英文)。
- 弹窗顶栏新增
[English / 中文]快速切换按钮,语言设置通过chrome.storage.local本地持久化保存。 - 界面全量元素国际化,涵盖连接状态、操作按钮、标签页信息与帮助说明。
- 多浏览器并发支持与智能路由:
- 重构底层 Python WebSocket 服务,支持 Microsoft Edge 与 Google Chrome 同时保持长连接,互不干扰、互不顶替。
- 建立全局标签页反向映射表(
tab_to_browser),向任意 Tab 发送操作时自动精准分流至所属浏览器。
- 原生 CDP 调试指令支持:
- CLI 命令行新增
cdp指令(py server/cli.py cdp <tabId> <method> [params_json]),HTTP 新增POST /cdp接口,支持向页面直接发送底层 CDP 协议指令。
- CLI 命令行新增
- 版本号动态同步:
- 弹窗改为动态读取
chrome.runtime.getManifest().version,彻底杜绝版本滞后。
- 弹窗改为动态读取
安装与更新
- 在下方 Assets 中下载
antigravity-browser-bridge-v1.4.0.zip并解压。 - 打开 Edge(
edge://extensions/)或 Chrome(chrome://extensions/)扩展管理页面。 - 开启开发者模式,点击加载已解压的扩展程序(若已安装则点击重新加载图标)。
- 运行后台服务:
python server/server.py。