WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Manifest Version 2 gets deprecated

Open gamebeaker opened this issue 2 years ago • 10 comments

Hi Manifest Version 2 is "soon" end of life on chrome. https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/ To prevent issues it should be updated to version 3.

gamebeaker avatar Sep 20 '22 17:09 gamebeaker

@gamebeaker I'm aware of this. The problem is, Firefox currently only support Manifest v3 in the dev builds, when the user explicitly turns it on. I haven't quite figured out how to support both.

dteviot avatar Sep 20 '22 19:09 dteviot

@dteviot Ok thanks for the answer.

gamebeaker avatar Sep 20 '22 19:09 gamebeaker

Reopen, hopefully will stop people asking about this again.

dteviot avatar Sep 21 '22 19:09 dteviot

@gamebeaker The Chrome test build should now be using Manifest v3, if you want to give it a test drive. Firefox should still be using v2.

dteviot avatar Oct 17 '22 20:10 dteviot

Hi thanks, as info google has pushed back the end of live date to june 2023 (before you were unable to update your extension on january 2023).

gamebeaker avatar Oct 18 '22 12:10 gamebeaker

@dteviot update https://groups.google.com/u/0/a/chromium.org/g/chromium-extensions/c/zQ77HkGmK9E?pli=1

gamebeaker avatar Dec 17 '22 20:12 gamebeaker

@gamebeaker I still need to change build to make Firefox with version 3.

dteviot avatar Mar 21 '24 18:03 dteviot

https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/

dteviot avatar Mar 28 '24 22:03 dteviot

Manifest v3 on Firefox is a pain. Need to explicitly request "Access your data for all websites" from user. And without this WebToEpub doesn't work well. Refer to below for notes on work required. For time being, staying with v2. Note, did manage to get Firefox to run with v3 manifest. Have committed those changes to a branch.

  • https://discourse.mozilla.org/t/error-missing-host-permission-for-the-tab/105769
  • https://discourse.mozilla.org/t/how-to-ask-user-to-grant-permissions-for-access-your-data-for-all-websites-through-a-prompt-during-the-installation-process/110637
  • https://blog.mozilla.org/addons/2022/11/17/unified-extensions-button-and-how-to-handle-permissions-in-manifest-v3/

For my notes: 83 minutes work

dteviot avatar Mar 28 '24 23:03 dteviot