Chrome.runtime.sendmessage

chrome.runtime.sendMessage({greeting: "hello"}, function(response) {  console.log(response.farewell);});
RedGuy12