This thread is pretty long. It's somewhat sad to see so many things missing in MV3. As an author of a popular extension, browser vendor might listen to your feedback.
Yeah, I ended up using a content script, but in a bit of a weird way so that it could remain fixed in the "background" and allow the user to open and close tabs without disrupting the recording.
I tried the MV3 offscreen documents and it does not work for screen recording as of now, hopefully there is a change. I believe other extensions in the space (at least I've seen Vidyard and Screencast-o-matic around Google groups) have been bringing up the issues with the transition for screen recording extensions, but there still hasn't been anything properly addressing them.
This is very inspiring as someone who is rethinking his goals and also as someone who has extensions in the Chrome Store. Thanks for sharing. Best wishes on your new release!
What was the clever service worker workaround to get the recording? A content script?
There's MV3 Offscreen Documents: https://developer.chrome.com/blog/Offscreen-Documents-in-Manifest-v3/
I haven't tried them myself yet.
Use cases that are not well served by service workers: https://github.com/w3c/webextensions/issues/170
This thread is pretty long. It's somewhat sad to see so many things missing in MV3. As an author of a popular extension, browser vendor might listen to your feedback.
Yeah, I ended up using a content script, but in a bit of a weird way so that it could remain fixed in the "background" and allow the user to open and close tabs without disrupting the recording.
I tried the MV3 offscreen documents and it does not work for screen recording as of now, hopefully there is a change. I believe other extensions in the space (at least I've seen Vidyard and Screencast-o-matic around Google groups) have been bringing up the issues with the transition for screen recording extensions, but there still hasn't been anything properly addressing them.
This is very inspiring as someone who is rethinking his goals and also as someone who has extensions in the Chrome Store. Thanks for sharing. Best wishes on your new release!
Thank you, glad you found it inspiring :)