Skip to content

Allow all sites for agent sign-in - #42

Merged
MehdiMamas merged 1 commit into
mainfrom
all-sites
Nov 16, 2026
Merged

MehdiMamas merged 1 commit into
mainfrom
all-sites

Conversation

@MehdiMamas

Copy link
Copy Markdown
Owner

Part of #41.

  • lib/agent.ts: ALL_SITES ('') kept explicitly by normalizeAllowlist; isAllowedUrl accepts any https host when '' is listed; new sameSite(url, tabHost).
  • Frame/link rule: with '', any https tab is allowed, but the code goes only to frames on a listed host or the tab's own host/subdomains, and a link opens only on a listed host or the tab's own host/subdomains. Without '' behaviour is unchanged.
  • Options page: 'Allow all sites' button, a note when active, and the Windows helper path in the description.
  • Tests for normalization, any-https matching, frame predicate and open_link.

@MehdiMamas
MehdiMamas merged commit 603ae86 into main Nov 16, 2026
1 check passed
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.

1 participant