


The _blank bit helps for the mailto redirection to work on mobile, btw.Īs a good practice I think it is a good idea to test if a popup was blocked and take action in case. I actually use this solution for a mailto redirection, and it works on all my browsers (windows 7, Android). var p 'scrollbarsyes, resizableyes, toolbaryes,' + 'menubaryes, statusyes, locationyes. var width '700' var height '450' //these are obvious variables.
Also, using async:false is bad - in FF it is known to block the whole browser.