Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
390 views
in Technique[技术] by (71.8m points)

javascript - 如何使用JavaScript绕过Safari拦截弹出窗口(How to bypass safari blocking popup using javascript)

My site has a link which redirects to a new tab " window.open(URL) ".It is working in chrome easily but safari is blocking it by default and the user needs to enable manually to continue to the next process.

(我的网站有一个重定向到新标签页的链接“ window.open(URL) ”。它可以在chrome中轻松运行,但Safari会默认将其阻止,用户需要手动启用才能继续进行下一个过程。)

Is there any way to overcome the issue so that it enables popup by default.

(有什么方法可以解决此问题,以便默认情况下启用弹出窗口。)

  ask by Sohan translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...