marcozaccari / markdown-diagrams-browser-extension

A browser extension for Chrome, Edge, Opera and Firefox that renders markdown diagrams and charts code blocks into preview images.
MIT License
60 stars 29 forks source link

Migrate to Manifest V3 #13

Open danielwegener opened 3 months ago

danielwegener commented 3 months ago

According to https://support.google.com/chrome/a/answer/7679408?hl=en#:~:text=Beginning%20June%202024%2C%20starting%20with,extensions%20running%20in%20the%20browser Chrome Enterprise starts to block Manifest v2 extension. This extension is already affected by this change and can no longer be installed from the Chrome Web Store. Attempting to to so will result in the following message:

“Your administrator has blocked this element.”

There is a chrome guide to migrate from V2 to V3 manifests: https://developer.chrome.com/docs/extensions/develop/migrate

Firefox seem to support V3 Manifests as well: https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/

I can currently not yet see if there are actual migrations from background scripts to service workers are required.

Would this be a welcomed contribution to this repo?