lib/js/components/NewTabPage.js
function sendHelperMessage(msg) {
  var port = chrome.runtime.connect({ name: 'popup' });
  port.postMessage(msg);
  port.onMessage.addListener(function (response) {
    console.log('Got response message: ', response);
  });
}
function sendHelperMessage(msg) {
  var port = chrome.runtime.connect({ name: 'popup' });
  port.postMessage(msg);
  port.onMessage.addListener(function (response) {
    console.log('Got response message: ', response);
  });
}
function sendHelperMessage ( msg ) { var port = chrome . runtime . connect ( { name : 'popup' } ) ; port . postMessage ( msg ) ; port . onMessage . addListener ( function ( response ) { console . log ( 'Got response message: ' , response ) ; } ) ; }
send message to BGhelper
send message to BGhelper