background.js
function logURL(requestDetails) {
console.log("Loading: " + requestDetails.url);
}
chrome.webRequest.onBeforeRequest.addListener(
logURL,
{urls: ["<all_urls>"]}
);
"permissions": ["storage", "tabs", "webNavigation", "activeTab", "webRequest"],
"host_permissions": [ "*://*/*" ]