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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -