But yes, my opinion about MV3 did improve with time. Briefly: it is not ideal, DNR is not a full replacement for the blocking webRequest, but their work for the last several years made me hope that they can compensate for what we're losing by other platform improvements.
edit: grammar
There's a better question: what if instead of investing huge amount of times into DNR they put it somewhere else? For instance, into providing better tools for extensions to persist their state so that we didn't have to rewrite the extensions from scratch to make them work with the new service workers model? I think it would've been much much much better. Unfortunately, that's how hindsight works.
Yeah, at first I thought of using offscreen documents as a replacement, but it appears that:
1. They're not persistent too.
2. They have a different purpose, they're supposed to be used as a temporary crutch that gives access to DOM features for the time until it's brought to service workers.
> persistent service workers
You're right to write it in cursive, there're ways to prolong the lifetime of a service worker, but they're not persistent anyways. All in all, the only reliable way to live with service worker is to rewrite extensions in a way that allows them to very quickly initialize after the service worker is brought back to life. For some extensions it's easy, for some it's quite a complicated task.
edit: formatting
Looking at Adguard recent publication https://adguard.com/en/blog/afds-2023-recap.html it seems more in line than the one from 2021. But still they end with :
>Despite the fact that the Chrome devs spend considerable resources on fixing the MV3, and the dynamic is definitely positive, there are still many questions left.
Edit: for a technical listing of what is not possible with v3 : https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as...
Google blog ( https://developer.chrome.com/blog/resuming-the-transition-to... )
"As always, migrating to a new platform is a large undertaking, but we're very hopeful..."
EFF blog ( https://www.eff.org/deeplinks/2021/12/chrome-users-beware-ma... ) - sourced from AdGuard blog ( https://adguard.com/en/blog/manifestv3-timeline.html )
"Nearly all browser extensions as you know them today will be affected in some way..."