I'm experimenting with the chrome extension's background script. I have the following
chrome.webRequest.onBeforeRequest.addListener( function(details) { return {cancel: true}; }, {urls: ["<all_urls>"]}, ["blocking"] );
Here I can block requests. Now my question is, how can I return a response without making the trip to the backend?
1.4m articles
1.4m replys
5 comments
57.0k users