IE停止消息“您正在查看的网页正在尝试关闭标签页”。 [英] IE stop message “the web page you are viewing is trying to close the tab.."

查看:3019
本文介绍了IE停止消息“您正在查看的网页正在尝试关闭标签页”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在页面上有一个关闭网页的脚本,但是当它这样做时,我收到此弹出消息您正在查看的网页正在尝试关闭该标签。是否要关闭此标签?

I have a script on page that will close the web page but when it does that I am getting this pop up message "the web page you are viewing is trying to close the tab. Do you want to close this tab?"

我想要取消此消息。我正在使用IE并完成以下设置
在IE工具/ Internet选项/安全/(选择)Internet区域>(单击)默认
级别。

I want to suppress this message. I am using IE and done following settings In IE Tools/Internet Options/Security/(select) Internet Zone> (click) Default Level.

或者,Internet选项> /安全性>(选择)Internet区域>自定义>脚本>
活动脚本>启用。
这些设置对我来说都不起作用,我仍然收到消息。我该如何防止这种情况?

Or, Internet Options>/Security> (select) Internet Zone> Custom> Scripting> Active scripting> Enable. Both the settings didn’t worked for me and I am still getting the message. How can I prevent this?

推荐答案

您正在查看的网页正试图在Internet Explorer中关闭此窗口警告

这是一个古老的问题,在芒果中我也会引用你的文章:

This is a old question and in the awnsers also lays your awnser i quote:

Javascript可以关闭一个窗口如果javascript代码打开它。

"Javascript can close a window if a javascript code opens it."

否则,它不能。这只是一个安全功能。我希望我帮助过。)

Otherwise, it can't. It is just a security feature. I hope i helped :)

这篇关于IE停止消息“您正在查看的网页正在尝试关闭标签页”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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