title: Re-route hypertext link clicks to external URLs to another browser than the Electron app
body: <p>I have an Electron <code>BrowserWindow</code>, which contains UI elements and a <code>BrowserView</code> created with:</p>
  <pre><code>bv = createBrowserView('https://example.com');
  ...
  browserWindow.setBrowserView(bv);
  </code></pre>
  <p>How to limit this <a href="https://www.electronjs.org/docs/api/browser-view" rel="nofollow noreferrer">BrowserView</a> to URLs of the form <code>***.example.com/***</code>, i.e. to stay on the domain <code>example.com</code>?</p>
  <p>More precisely, if the user clicks on a hypertext link going out of this domain, it should be opened in an external application, such as the system's default browser, but not in the Electron app.</p>
  <p><strong>How to do this with Electron BrowserView?</strong></p>