chrome.extension icon indicating copy to clipboard operation
chrome.extension copied to clipboard

webRequest seems need more arguments

Open R32 opened this issue 5 years ago • 0 comments

I'm not sure, but according to google's docs: https://developer.chrome.com/extensions/webRequest#subscription

In addition to specifying a callback function, you have to specify a filter argument and you may specify an optional extra info argument.

So I think some methods should be:

chrome.webRequest.onBeforeRequest.addListener(
        callback, filter, opt_extraInfoSpec);

R32 avatar Apr 07 '19 02:04 R32