I need to open my app in new window by this link:
<a onclick="window.open('http://somesite1.com/', '_target', 'width=510,height=413,resizable=yes,scrollbars=yes').focus();">Link</a>
After opening the application handles events like:
$registerSubmitButton.on("click", function() {
var newWindow = window.open("https://somesite2.com", "_blank");
newWindow.opener.close();
return false;
});
But this click event doesn't work only in Safari. Why?