javascript - Is it possible to bypass popup blocking on Safari latest (currently: 10.1.2) when using window.open? -


based on useful replies here (like this), built code deal popup blocking works fine on other browsers (like chrome), not on safari - loader , target page samples, internal documents in production version:

//redirecting user temporary page displaying loader test=window.open('https://codepen.io/jackrugile/full/ejsbf/', '_blank'); //settimeout simulate api call settimeout(function() {   //this part not work on safari change new page target page   test.location.replace('http://google.com'); }, 3000) 

i aware popup evil, blocked reason , more, consider developing tool accessed , used exclusively inside given corporate environment, popup in requirements of company , no, discussing many devices , people little technical prowess think disabling blockers our own app.

any tip make work on safari, provided possible @ all? might consider dropping window.open() part, need have reliable check verify whether document opened or not.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -