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

Improvements to redirection #45

Closed httpjamesm closed 2 years ago

httpjamesm commented 2 years ago

Currently, Privacy Redirect waits for the target page to load (like Reddit), and then redirects the user to the selected private instance. However, I noticed that the Kagi Search extension is able to redirect users to their search engine without needing to wait for the default search engine to load.

I wonder if it's possible to implement the same redirection code that Kagi uses into this extension for a faster and more private experience?

FIGBERT commented 2 years ago

Kagi is a Safari App Extension, Privacy Redirect for Safari is a Safari Web Extension. Unfortunately, the API differences mean that our current strategy is the best way we can redirect at the moment.

It may be worth considering a migration to the other API. It's unfortunate, because Web Extensions are actually the newer API.