I have this code:
chrome.webRequest.onCompleted.addListener(function(details){
console.log(details);
});
I'm trying to understand and use the chrome.webRequest API. I can't figure why the code isn't working, I just wanna give a try to the API by logging all the requests made by chrome. I've set the permissions in my manifest on these two patterns http://*/*
and https://*/*
but i will always get this error from my background script: Uncaught TypeError: No matching signature.
Any help is appreciated.