title: Close/exit a PWA programmatically
body: <p>How can I close/exit my PWA?</p>
  
  <p>I had assumed I'd be able to do this:</p>
  
  <pre><code>window.close();
  </code></pre>
  
  <p>Unfortunately, that results in the usual error:</p>
  
  <blockquote>
    <p>Scripts may close only the windows that were opened by it.</p>
  </blockquote>
  
  <p>Is there any way to programmatically close my PWA?</p>