Skip to content

fix: add clipboard fallback for insecure origins#5

Closed
DiamondEyesFox wants to merge 1 commit intooutsourc-e:mainfrom
DiamondEyesFox:codex/pr-clipboard-fallback
Closed

fix: add clipboard fallback for insecure origins#5
DiamondEyesFox wants to merge 1 commit intooutsourc-e:mainfrom
DiamondEyesFox:codex/pr-clipboard-fallback

Conversation

@DiamondEyesFox
Copy link
Copy Markdown
Contributor

Summary

  • add a shared clipboard write helper with a legacy execCommand fallback
  • use the helper for current copy buttons in chat, setup, and provider flows
  • fix copy actions on plain HTTP, direct-IP, and Tailscale access where navigator.clipboard is unavailable

Testing

  • npm run build

outsourc-e pushed a commit that referenced this pull request Apr 2, 2026
Co-authored-by: DiamondEyesFox <DiamondEyesFox@users.noreply.github.com>
@outsourc-e
Copy link
Copy Markdown
Owner

Cherry-picked into main as 4a6fa13 — thanks @DiamondEyesFox! Closed since the branch had merge conflicts with recent changes.

@outsourc-e outsourc-e closed this Apr 2, 2026
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.

2 participants