mshibanami / redirect-web

Support website for Redirect Web for Safari
https://mshibanami.github.io/redirect-web/
MIT License
32 stars 2 forks source link

Unable to Return to Previous Page After Opening Another App #52

Open Sissing opened 4 weeks ago

Sissing commented 4 weeks ago

First I'm really glad to find this app to improve my Safari experience while opening links like Figma Notion and YouTube.

What I currently experience as odd/incorrect is that when I open a page from either Google or another website that triggers the Redirect app on Mac, it overrides that current tab, and it shows the Redirect Web page. But in this case, I can't go back to the previous page I came from. This works well for pages that are opened in a new tab target="_blank", but if it links to a page that doesn't open a new tab or window, you lose the browsing history of that tab. I hope I'm missing something here, but otherwise, I hope this is something that can be improved.

macOS: 14.6.1 Safari: 17.6 Redirect Web for Safari: 7.2.1

mshibanami commented 3 weeks ago

Thank you so much for your feedback! I agree this is a problem, and I've wanted to fix it for a long time.

Unfortunately, a browser limitation causes this issue. Opening the app loading page, which is bundled into the extension and shows "XXX is being opened," disposes of the navigation history.

However, I've noticed that this behavior seems to vary across browsers. I'll dive deeper into it and likely ask about the correct behavior on https://github.com/w3c/webextensions. It may take some time to be addressed, regardless of the outcome. Thank you for your understanding!

mshibanami commented 1 week ago

Good news: the current behavior is recognized as a bug by Apple, according to w3c/webextensions#677. 🙂

The bug reference number is 134939755, and it will appear in the release notes once Apple fixes it: https://www.google.com/search?q=site%3Adeveloper.apple.com%2Fdocumentation%2Fsafari-release-notes+134939755

I'm not sure about Apple's internal priority, but I hope it won't take long.