Skip to content

feat: safari support - #1

Merged
VaughnBosu merged 1 commit into
moderok-dev:mainfrom
creeperkatze:safari-support
Nov 21, 2026
Merged

VaughnBosu merged 1 commit into
moderok-dev:mainfrom
creeperkatze:safari-support

Conversation

@creeperkatze

Copy link
Copy Markdown
Contributor

Adds safari as a browser value so Safari extensions are reported correctly instead of as unknown.

  • parseBrowser() detects Safari and takes its version from Version/x (the Safari/x token is the WebKit build number)
  • detectSource() recognizes the safari-web-extension: protocol, so Safari popups and options pages aren't reported as content_script
  • Added tests with real macOS and iOS Safari user agents

The backend would need to accept safari too. I came across this while working on the Moderok provider in WXT, where Safari currently maps to unknown.

@VaughnBosu

Copy link
Copy Markdown
Contributor

Hey @creeperkatze, thanks for this! Merging now and will release in v1.0.2 later today. I'll also respond in wxt-dev/wxt#2648

@VaughnBosu
VaughnBosu merged commit 5f0b99e into moderok-dev:main Nov 21, 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