Skip to content

feat: add Safari support and refactor browser detection#430

Open
alcayaga wants to merge 1 commit intokheina-com:mainfrom
alcayaga:feat/safari-support
Open

feat: add Safari support and refactor browser detection#430
alcayaga wants to merge 1 commit intokheina-com:mainfrom
alcayaga:feat/safari-support

Conversation

@alcayaga
Copy link
Copy Markdown

This is the first step for Safari support as requested in #197.

Captura de pantalla 2026-02-26 a la(s) 11 47 51
  • Added make safari target to makefile for Safari-compatible manifest generation.
  • Refactored Browser constant in src/constants.ts to detect Safari.
  • Updated documentation in readme.md with Safari installation steps.

How to build for Safari
Read instructions in readme.md, needs a Mac in order to use Xcode commands to create the app.

What this PR doesn't cover?
Creation of Xcode .app and App Store distribution, they can be discussed once this PR is merged.

- Added `make safari` target to makefile for Safari-compatible manifest generation.
- Refactored `Browser` constant in `src/constants.ts` to detect Safari.
- Updated documentation in `readme.md` with Safari installation steps.
Comment thread src/constants.ts
runtime: browser.runtime,
storage: browser.storage,
action: browser.browserAction,
action: browser.action || chrome.action,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm not sure if you need to include ||chrome.action here?

Copy link
Copy Markdown
Collaborator

@rougetimelord rougetimelord left a comment

Choose a reason for hiding this comment

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

Extremely minor question, otherwise LGTM

@rougetimelord
Copy link
Copy Markdown
Collaborator

Also FYI I don't have code ownership over the .gitignore, if you want the PR to merge faster you can remove the change to it or I can try to reach out to Kheina

lmk

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