Skip to content

enable exit node selector#11

Open
e-kotov wants to merge 1 commit into
tailscale:mainfrom
e-kotov:exit-node
Open

enable exit node selector#11
e-kotov wants to merge 1 commit into
tailscale:mainfrom
e-kotov:exit-node

Conversation

@e-kotov
Copy link
Copy Markdown

@e-kotov e-kotov commented Jan 31, 2026

Would close #5

Copilot AI review requested due to automatic review settings January 31, 2026 18:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds exit node selection support to the browser extension by exposing exit node list/set commands from the native Go host and wiring a dropdown selector into the Chrome/Firefox popups.

Changes:

  • Add native-host commands to fetch available exit nodes and set/clear the selected exit node.
  • Add popup UI (HTML/CSS/JS) to display and change the exit node selection.
  • Extend background scripts to forward popup requests to the native host and return responses.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
ts-browser-ext.go Implements get-exit-nodes and set-exit-node commands and adds request/reply JSON fields for exit node control.
background.js Adds Chrome background message plumbing for exit node get/set operations.
popup.js Adds Chrome popup dropdown UI logic to fetch, display, and change exit node selection.
popup.html Adds Chrome popup dropdown markup/styles for exit node selection.
firefox/background.js Adds Firefox background message plumbing for exit node get/set operations; also adjusts proxy handler management.
firefox/popup.js Adds Firefox popup dropdown UI logic to fetch, display, and change exit node selection.
firefox/popup.html Adds Firefox popup dropdown markup/styles for exit node selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread firefox/background.js
Comment thread popup.js
Comment thread popup.js
Comment thread firefox/popup.js
Comment thread popup.html Outdated
Comment thread firefox/popup.html Outdated
Comment thread background.js
@e-kotov e-kotov force-pushed the exit-node branch 2 times, most recently from 1365266 to e77836b Compare February 1, 2026 00:57
Enhance exit node selection with reliable detection, improve display names, fix 'None' selection clearing, and provide better installation instructions with local dev support.

Signed-off-by: Egor Kotov <kotov.egor@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question: Use exit nodes

2 participants