I try to open some URL in new tab or window, but any Webkit based browser or Opera are block them. I trying many variants to make that, like window.open() etc. like this:
if(c<q){var l='url';
var g=$('<form action="'+l+'" style="display:none;" target="_blank"></form>')
.appendTo('.append').eq(0);
if(confirm('some text')){g[0].submit();}}
but any results…
– this code not blocked only on Firefox. How to create the right one?
Thank’s for any help!
Consider using jQuery UI Dialog. Since it is handled in the DOM, it won’t be blocked, and you get a lot more flexibility than native
confirmand popups.