title: Google Chrome extension (Fire a event when extension starts)
body: <p>I want to fire a event just when my chrome extension starts. How do I achieve this? Is there a event listener that triggers when extension starts?</p>
  
  <p>for example:-</p>
  
  <pre><code>chrome.runtime.onInstalled.addListener(function(){
          console.log('i will run once!');
  });
  </code></pre>
  
  <p>Similar to this but not on installed but on start and it should only fire once during the extension's run time which is when it starts.</p>