Skip to content

Conversation

@aimileus
Copy link
Contributor

When using the 'v' shortcut in a Safari PWA on macOS, Miniflux opened the link in something similar to an 'in-app browser' with no URL bar and a separate window for each link. When clicking the link with the mouse, a "normal" browser tab is opened instead.

It looks like target="_blank" on the element implies the "noopener" attribute, which causes Safari to use the main browser. For window.open, "noopener" is not implied. This commit adds the "noreferrer" argument to the window.open call (which implies the "noopener" option) rather than changing the window.opener attribute manually. This option causes Safari to use the main browser with the 'v' shortcut.

Have you followed these guidelines?

When using the 'v' shortcut in a Safari PWA on macOS, Miniflux opened
the link in something similar to an 'in-app browser' with no URL bar and
a separate window for each link. When clicking the link with the mouse,
a "normal" browser tab is opened instead.

It looks like target="_blank" on the <a> element implies the "noopener"
attribute, which causes Safari to use the main browser. For window.open,
"noopener" is not implied. This commit adds the "noreferrer" argument to
the window.open call (which implies the "noopener" option) rather than
changing the window.opener attribute manually. This option causes Safari
to use the main browser with the 'v' shortcut.
@fguillot fguillot merged commit d40e523 into miniflux:main Feb 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants