[PR #7221] fix(desktop): open external links in default browser #12304

Closed
opened 2026-02-16 18:17:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7221

State: closed
Merged: Yes


Summary

  • Intercept navigation events in the Tauri webview using on_navigation handler
  • Open external URLs (http/https) in the system's default browser instead of navigating internally
  • Allow internal navigation (tauri://, localhost, 127.0.0.1) to proceed normally
  • Prevents users from getting stuck on a "dead end" page when clicking links in AI-generated content

Fixes #6484

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7221 **State:** closed **Merged:** Yes --- ## Summary - Intercept navigation events in the Tauri webview using `on_navigation` handler - Open external URLs (http/https) in the system's default browser instead of navigating internally - Allow internal navigation (tauri://, localhost, 127.0.0.1) to proceed normally - Prevents users from getting stuck on a "dead end" page when clicking links in AI-generated content Fixes #6484
yindo added the pull-request label 2026-02-16 18:17:13 -05:00
yindo closed this issue 2026-02-16 18:17:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12304