Ciao Andrea,

innanzi tutto ti ringrazio della risposta.
Purtroppo però entrambe le due soluzioni non funzionano, l'errore è:
Uncaught TypeError: Cannot read property 'addEventListener' of null
abrirFormulario

Per completezza posto le due pagine html, pagina principale, dove si fa riferimento allo script sopra riportato.
codice HTML:
<!DOCTYPE html>
    <html lang="es">
      <head>
        <meta charset="utf-8">
        <script src="javascript.js" type="text/javascript">
</script>
        <title>Ventanas</title>
              </head>
      <body>
            <button id="abrirFormulario">Abrir ventana Formulario</button>
          </body>
    </html>
Pagina formulario.html
codice HTML:
<!DOCTYPE html>
    <html lang="es">
      <head>
        <meta charset="utf-8">

        <title>Formulario</title>
          </head>
      <body>
            <input id="nombre" type="text" placeholder="inserta tu nombre">
            <input id="email" type="email" placeholder="insera tu email">
            <button id="enviar">Invia</button>
      </body>
    </html>
Grazie,
Roberto