I am trying to create a Chrome extension using manifest v3, but the chrome.webRequest API is no longer available with the blocking option. This makes it difficult to block or modify network requests in my extension. I want to modify my extension code to work with manifest v3 and find alternative APIs that can achieve similar functionality. I am seeking guidance on how to modify my extension and what alternative APIs to use instead of chrome.webRequest. Any help would be greatly appreciated
I modified my extension code to work with manifest v3 by using the declarativeNetRequest API instead of chrome.webRequest. However, I encountered errors related to the limited number of rules that can be set, and the inability to modify request headers. Also, the declarativeNetRequest API does not support the blocking of requests based on the request body.