打开弹出窗口(window.open)而不获取安全消息 [英] open popup ( window.open ) without getting security message

查看:321
本文介绍了打开弹出窗口(window.open)而不获取安全消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面打开一个小弹出窗口来显示收到的消息但是当页面试图打开弹出窗口时,用户应该点击Internet Explorer顶部的黄色消息并单击(允许弹出窗口),否则弹出窗口将弹出不显示

有没有办法在未经许可的情况下打开此窗口?


I have a page which opens a little popup to show recieved messages but when ever the page tries to open the popup the user should click on the yellow message on top of internet explorer and click on ( allow popup ) otherwise the popup will not be showed
Is there any way to open this window without getting permission?


展开 | 选择 | Wrap | 行号

推荐答案

Heya,bnashenas。


唯一的方法是在用户点击链接时打开窗口。


如果您可以绕过安全消息,那么弹出广告也可以做到这一点,这会破坏弹出窗口阻止程序的整个目的。
Heya, bnashenas.

The only way to do that is to open the window when the User clicks on a link.

If you could bypass the security message, then pop-up ads could do it, too, which would defeat the whole purpose of the pop-up blocker.


谢谢回复..

你的权利...所以我最好用另一种方式注意我的用户
thanks for the reply..
Your right... so i better use another way to notice my users


Heya,bnashenas。

弹出窗口的用途是什么?这是退出调查吗?
Heya, bnashenas.

What is the purpose of your popup window? Is it an exit survey?


这篇关于打开弹出窗口(window.open)而不获取安全消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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