避免弹出窗口阻止程序 [英] avoid pop up blocker

查看:92
本文介绍了避免弹出窗口阻止程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从服务器端,我想在新窗口中打开pdf文件.

我添加window.open,并在第一次要求我允许弹出窗口时允许,它刷新了我的页面.
我想避免刷新并在新窗口中打开pdf(与IE一起检查)

请帮助我.

From server side, I want to open pdf file in new window.

I add window.open and first time it ask me to allow popup and after allowing, it refreshes my page.
I want to avoid refreshing and open the pdf in new window (check with IE)

Please help me.

推荐答案

开始 ^ ].


不使用弹出窗口会更好.考虑一下:您想战斗违反您的用户决定.您是否仍然希望用户即使这样做也愿意为您的服务付费?

—SA
Not using pop-ups would be much better. Think about it: you want to fight against your user decision. Do you still hope that you''re user will gladly pay for your service even if you do such things?

—SA


这篇关于避免弹出窗口阻止程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆