var form = document.createElement('FORM'); form.action = '//yandex.ru'; form.target = '_blank'; document.body.appendChild(form); form.submit();