Commit 2a0a426
committed
fix: add clipboard fallback for insecure contexts
- Add document.execCommand('copy') fallback when
navigator.clipboard.writeText() fails (e.g. HTTP sites)
- Verified via agent-browser E2E: session creation, page refresh,
session persistence, bridge connect/disconnect all work1 parent 30131ef commit 2a0a426
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
275 | 286 | | |
276 | 287 | | |
277 | 288 | | |
| |||
0 commit comments