Author here. Yojam replaces the default browser on macOS so every URL - clicks, Finder .webloc/.inetloc/.url files, Handoff, AirDrop, Share and Services menus, Safari/Chromium/Firefox extensions, and a yojam:// scheme - runs through one pipeline: global regex rewrites, tracking-parameter scrubbing, rule matching, per-browser rewrites, then open-or-pick.
Technically interesting bits if you want to pick them apart:
Rules can target specific browser profiles, not just bundle IDs. For Chromium this means shelling out with --profile-directory; for Firefox, -P with the profile name; for Safari/Orion, AppleScript because there's no profile CLI (because of course there isn't).
Source-app filtering uses real originating bundle IDs where macOS actually gives them to us, and synthetic sentinels (com.yojam.source.handoff and friends) where it doesn't. Rules can key on either.
The Share Extension, Safari Web Extension, and native messaging host are separate Xcode targets sharing an App Group contai
Discussion
Leave the first comment
Be the first to leave a mark on this discussion.