title: Restart google chrome using javascript
body: <p>In chrome, if I go to <strong>chrome://flags/</strong> and make a change on the flags page ( enable/disabe features ), a button appears at the bottom of the page which when clicked restarts chrome and re-opens the pages that were opened.
  Does anyone know what javascript code allows that to happen ?</p>
  
  <p>This is the html where the button appears</p>
  
  <pre><code>&lt;div class="needs-restart" jsdisplay="needsRestart"&gt;
          &lt;div i18n-content="flagsRestartNotice"&gt;NEEDS_RESTART&lt;/div&gt;
          &lt;button class="experiment-restart-button"
                  type="button"
                  i18n-content="flagsRestartButton"&gt;RESTART&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thanks</p>