Can't get started with developing an extension in Vivaldi
-
Hi everyone! As I was following this tutorial (https://developer.chrome.com/docs/extensions/mv3/getstarted/) to develop a Chrome Extension, I noticed that there was no way I could get the extension to work in Vivaldi. Either starting from scratch with a basic background.js, or downloading their demo extension, all I got was "Service worker registration failed". I tried both extensions (mine and the demo) in Chrome and Opera, and both worked.
Is there any non-documented limitations to Vivaldi extensions?
-
@simonesaviolo You could try using the
Manifest Version 2
method instead. https://developer.chrome.com/docs/extensions/mv2/getstarted/I haven't tried working with background service workers yet, but all my extensions that use the Mv2 background script, still work in Vivaldi and other Chromium browsers. There might be a point where the change will need to be made, but for now it still works.
-
Thank you @nomadic, it looks like that's the issue. You can't use MV3 extensions in Vivaldi, for reasons (I think) related to privacy. I don't think I need MV3's features anyway, MV2 will be enough.
-