Opening new links in browser with Safari web app

Hi - I am running SilverBullet in a Safari web app on macOS (Use Safari web apps on Mac - Apple Support).

Links to external web pages inside a note are opened in a new window of the Safari web app. The more desirable behavior would be to open in my default browser (e.g., Firefox).

From what I can tell, SilverBullet intercepts onclick events on < a > tags to open the link with JavaScript. This is a “pop up window” from the browser’s perspective, rather than opening a link with a _blank target. I believe that if SilverBullet took the latter approach rather than the former for external links only, the desired behavior (external links open in Firefox) would happen. Is this interpretation correct? Is there any current way to address this?

Thanks!
Max

I’m using Windows, but I think the same solution could work: PWAsForFirefox (GitHub)

It looks like the macOS version needs to be built from source, but it’s available on Homebrew.