In attempt to send a response asynchronously from chrome.runtime.onMessage callback we might try this wrong code:
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
$.ajax({
url: 'https://www.google.com',
method: 'GET',
success: functio...