Skip to content

v1.4.0: Bilingual UI & Concurrent Multi-Browser Routing

Choose a tag to compare

@AshenJyy AshenJyy released this 14 Oct 02:42
· 14 commits to main since this release

English · 简体中文


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 in chrome.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 cdp CLI command (py server/cli.py cdp <tabId> <method> [params_json]) and POST /cdp HTTP endpoint to dispatch raw Chrome DevTools Protocol commands.
  • Dynamic Versioning:
    • Popup UI dynamically queries chrome.runtime.getManifest().version to prevent version desynchronization.

Installation & Upgrade

  1. Download antigravity-browser-bridge-v1.4.0.zip from Assets below and extract it.
  2. In Edge (edge://extensions/) or Chrome (chrome://extensions/), enable Developer mode.
  3. Click Load unpacked (or click Reload if updating an existing installation).
  4. 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 协议指令。
  • 版本号动态同步:
    • 弹窗改为动态读取 chrome.runtime.getManifest().version,彻底杜绝版本滞后。

安装与更新

  1. 在下方 Assets 中下载 antigravity-browser-bridge-v1.4.0.zip 并解压。
  2. 打开 Edge(edge://extensions/)或 Chrome(chrome://extensions/)扩展管理页面。
  3. 开启开发者模式,点击加载已解压的扩展程序(若已安装则点击重新加载图标)。
  4. 运行后台服务:python server/server.py。