webRequest seems need more arguments
Opened this issue · 0 comments
R32 commented
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);