|
From: | Giorgio Maone |
Subject: | Re: Manifest v3 |
Date: | Mon, 15 Feb 2021 18:50:40 +0100 |
User-agent: | None of Your Business 1.0 |
* Background script -> service workersThe state can be kept in chrome.storage.local, and some in-memory cache may be used until the service worker is shut down and respawn (which may happen at any time), but surely there will be at least some performance hit from this, negligible or huge depending on what we used state for.
* We will not have the possibility to keep any state, this will affect Network Boundary Shield (NBS), we cannot prepare code in advance, and there will be probably more breakage like updating badges when switching tabs.
* We might need to revert 6b51fa8606c71b5057471e1a91fd7ffc410a019a which improved the reliability of the wrappings being applied before page scripts start executing.
* Web Request API -> Declarative Net Requests
* Right now only NBS is affected (so far I think that NBS will need to be removed from chromium-based browsers),
* The blocking strategy based on heuristics that I explained on one of the calls will be affected and most likely impossible to im=plement.
The other issues you mention seem minor worries ATM:
Anyway, MV3 APIs are still in progress and have lots of bugs yet. I'm experimenting with those on a daily basis while working on the NoScript Commons Library (which, as I said, I plan to use for this project as well), so I'll keep you posted of any interesting finding along the way, either good or bad.
Best
-- G
Hello Giorgio,
I went through https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/ with the intention of identifying required changes to support Manifest v3:
* Background script -> service workers
* We will not have the possibility to keep any state, this will affect Network Boundary Shield (NBS), we cannot prepare code in advance, and there will be probably more breakage like updating badges when switching tabs.
* We might need to revert 6b51fa8606c71b5057471e1a91fd7ffc410a019a which improved the reliability of the wrappings being applied before page scripts start executing.
* Web Request API -> Declarative Net Requests
* Right now only NBS is affected (so far I think that NBS will need to be removed from chromium-based browsers),
* The blocking strategy based on heuristics that I explained on one of the calls will be affected and most likely impossible to im=plement.
* getURL is beeing removed - several instances, mostly needed for NBS.
* we are ussing connect/sendMassage/onconnect/onMessage for communication between popup and background, in NBS, and also in Firefox-only code dealing with the bug 1267027.
Giorgio, I do not see any removal of document_start content scripts which is the core functionality of the extension.
Did I miss something?
Libor
-- Giorgio Maone https://maone.net
[Prev in Thread] | Current Thread | [Next in Thread] |