The below is the highlevel code structure for chrome extension development I am working on. For some functions, I have mentioned the function name alone, instead full code, as it huge code with more than 1500 lines of code.
But this where webRequest API involves, where I need to replace declarativeNetRequest API. I don't see anywhere declarativeNetRequest will be useful for involving this complex code with so many function blocks nested in.
Anyone please provide the suggestion on manifest migration to v3 in case of webRequest and webRequest blocking.
Note: ExtensionInstallForcelist cannot be used for my extension.
function fnBlockC() {
chrome.webRequest.onCompleted.addListener(
function (details) {