function windowOpenNoOpener(url) {
    // By using 'noopener' in the `windowFeatures` argument, the newly created window will
    // not be able to use `window.opener` to reach back to the current page.
    // See https://stackoverflow.com/a/46958731
    // See https://developer.mozilla.org/en-US/docs/Web/API/Window/open#noopener
    // However, this also doesn't allow us to realize if the browser blocked
    // the creation of the window.
    mainWindow.open(url, '_blank', 'noopener');
}
Open safely a new window. This is the best way to do so, but you cannot tell
if the window was opened or if it was blocked by the browser's popup blocker.
If you want to tell if the browser blocked the new window, use {@link windowOpenWithSuccess}.

See https://github.com/microsoft/monaco-editor/issues/601
To protect against malicious code in the linked site, particularly phishing attempts,
the window.opener should be set to null to prevent the linked site from having access
to change the location of the current page.
See https://mathiasbynens.github.io/rel-noopener/