sblask-webextensions / webextension-skip-redirect

Some web pages use intermediary pages before redirecting to a final page. This add-on tries to extract the final url from the intermediary url and goes there straight away if successful.
https://addons.mozilla.org/firefox/addon/skip-redirect/
MIT License
481 stars 45 forks source link

Safari Release Possible? #300

Closed belodelokelo closed 10 months ago

belodelokelo commented 2 years ago

New Issue Checklist (tick off like this: [x])

What is your browser?

What is your operating system?

Description (please include examples/screenshots where applicable)

sblask commented 2 years ago

I am not using Safari so I have no idea. Can't you get extensions from the Chrome Webstore?

superevr commented 2 years ago

I am not using Safari so I have no idea. Can't you get extensions from the Chrome Webstore?

Safari and iOS require extensions to be tied to an App, so there's some building that has to be done first.

For the most part, the github source of this extension can be converted to an App Extension with XCode: xcrun safari-web-extension-converter /path/to/extension https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_web_extension_for_safari

But there's a number of incompatibilities that have to be worked through to get the extension to actually work. Safari not supporting the WebRequestBlocking may be a major one. Unfortunately, it's a little above my head.

I would appreciate the effort though. Skip Redirect is the perfect extension for users of ad blockers like piHole. In that scenario, clicking a link with trackers in it leads to a blackhole. But Skip Redirect fixes that, leading directly to the content.

sblask commented 2 years ago

It's not going to happen from my side.

So you are using an extension and want to use Skip Redirect to undo what it does? Why not just not use the extension in the first place? Also there is no guarantee that would work because there is no defined order in which webextensions are called