smmr-software / privacy-redirect-safari

A Safari extension that redirects Twitter, YouTube, Reddit, and more to privacy friendly alternatives.
GNU General Public License v3.0
165 stars 14 forks source link

Direct access to options from Safari #37

Closed lothar-cell closed 2 years ago

lothar-cell commented 2 years ago

It would be great if clicking on the extension icon in Safari would bring up the options rather than a window to "Open App", which then opens an additional window with the options.

Screenshot 2022-05-19 at 16 17 49
FIGBERT commented 2 years ago

We made the conscious decision to have users customize settings via the app, as we think it's more ergonomic and Mac-like. Web extensions in Chrome are configured with HTML menus and popovers. Privacy Redirect for Safari is a macOS app, and it is configured natively. It's a tradeoff, but one we think is work it.

lothar-cell commented 2 years ago

Adding an extra step to the UI without actual function, is definitely a strange interpretation of Apple's UI design philosophy (especially that little pop-up window to open settings is so very much anti-mac-like), if you don't mind me saying, but your choice is yours. I just wish there was an alternative when it comes to Safari.

FIGBERT commented 2 years ago

Ideally we would open the app when you click the icon in Safari, as in Vimari, but last we looked the API was not available to us based on the way we built the app. I will open an issue in our tracker and we can look into this again.

lothar-cell commented 2 years ago

Great, looking forward for it!

lothar-cell commented 2 years ago

I'd like to leave this here as inspiration, I think Adguard has done a great job in this regard:

Screenshot 2022-06-01 at 6 31 50
FIGBERT commented 2 years ago

After further investigation, it looks like opening the Swift app on click is limited to Safari App Extensions. Vimari does this. Unfortunately, this isn't yet supported for Safari Web Extensions – I'm going to close this issue here for now, and move the internal version to our backlog.

We'll keep an eye out for changes in this area, because we'd love to support this eventually.