title: google chrome extension open new tab on startup
body: <p>I would like to know if there's a way to open a website on a new tab when chrome is launched through the service-worker on manifest version 3.</p>
  <p>What I tried</p>
  <pre><code>   // background.js
  chrome.runtime.onStartup.addListener(function() {
    chrome.tabs.create({url:&quot;https://www.google.com/&quot;});
   })
  
  &quot;manifest_version&quot;: 3,
  &quot;background&quot;: {
    &quot;service_worker&quot;: &quot;background.js&quot;
  },
  &quot;permissions&quot;: [&quot;storage&quot;,&quot;activeTab&quot;, &quot;scripting&quot;, &quot;tabs&quot;, &quot;runtime&quot;],
  </code></pre>