Fazil Altinel
5 years ago
2 changed files with 1 additions and 7 deletions
@ -0,0 +1 @@ |
|||
.DS_Store |
@ -1,7 +0,0 @@ |
|||
chrome.runtime.onMessage.addListener( |
|||
function(request, sender, sendResponse) { |
|||
// listen for messages sent from background.js
|
|||
if (request.message === 'hello!') { |
|||
console.log(request.url) // new url is now in content scripts!
|
|||
} |
|||
}); |
Loading…
Reference in new issue