So I want to make my chrome extension appear out like a pop-up . Is that possible ? As I cant handle the data from background script to popup.html as the chrome extension would not be rendered yet. background script
chrome.runtime.onMessage.addListener(
function(request, sender, sendResponse) {
if (request.greeting == "hello"){
createTable(request.message);
}
return true;
});
request.message can be accessed but cant be added to the chrome extension