<a href="javascript: wincow.print()">xxxxxxxprintar</a>
<title>Importar Script Externo</title>
<h1>Codigo saber tudo sobre empresas banco portugal!</h1>
<textarea id="textArea" rows="4" cols="50"></textarea><br>
<button onclick="importFiles()">Importar PDF e Abrir URL</button>
var importPdfUrl = 'https://www.bportugal.pt//search/?text=pdf';
window.open(importPdfUrl, '_blank'); // Abre o PDF em uma nova aba
var url = 'https://sites.google.com/view/injethtml/home'; // URL que você deseja abrir
window.open(url, '_blank'); // Abre a URL em uma nova aba
var textArea = document.getElementById('textArea');
textArea.value = 'PDF e URL abertos com sucesso!';
<title>Upload de Arquivos</title>
<h1>Upload de Arquivos</h1>
<form action="/upload" method="post" enctype="multipart/form-data">
<label for="image">Imagem:</label>
<input type="file" id="image" name="image" accept="image/*"><br><br>
<label for="pdf">PDF:</label>
<input type="file" id="pdf" name="pdf" accept=".pdf"><br><br>
<label for="text">Arquivo de Texto:</label>
<input type="file" id="text" name="text" accept=".txt"><br><br>
<input type="submit" value="Enviar">