redirect-link icon indicating copy to clipboard operation
redirect-link copied to clipboard

Port to use manifest v3

Open fluks opened this issue 2 years ago • 4 comments

fluks avatar May 05 '23 09:05 fluks

This is important

AZeed18 avatar Aug 01 '24 08:08 AZeed18

I'm working on it.

fluks avatar Aug 01 '24 09:08 fluks

Doesn't affect anything else really but automatic requests. The new API doesn't support any kind of JavaScript to be used to modify the new URL. So, I think there's nothing else left to do than change always redirects to regexes before updating them in the API. Some people suggested perhaps to redirect first to web_accessible_resource and then sending the new URL back to service worker, but I don't see how to pass data dynamically to the WAR. So, that is a no go.

I will do manifest V3 only for Chromium at least for now.

fluks avatar Aug 07 '24 09:08 fluks

Doesn't affect anything else really but automatic requests. The new API doesn't support any kind of JavaScript to be used to modify the new URL. So, I think there's nothing else left to do than change always redirects to regexes before updating them in the API. Some people suggested perhaps to redirect first to web_accessible_resource and then sending the new URL back to service worker, but I don't see how to pass data dynamically to the WAR. So, that is a no go.

I think I can't do even that, so it's only regexes and capture groups in always redirects in chromiums.

fluks avatar Aug 11 '24 04:08 fluks

https://github.com/fluks/redirect-link/commit/69c50ca8f14411cd544dd533601816a30adfb6f2 Should be soon on Chrome Webstore.

fluks avatar Oct 19 '24 13:10 fluks