Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 7 window.open在IE8保护模式下返回null_Windows 7_Windows_Internet Explorer 8 - Fatal编程技术网

Windows 7 window.open在IE8保护模式下返回null

Windows 7 window.open在IE8保护模式下返回null,windows-7,windows,internet-explorer-8,Windows 7,Windows,Internet Explorer 8,我试图捕获window.open的返回值,但它返回null/undefined。当IE8保护模式打开时会发生这种情况。在IE8中,是否有其他选项可以在不禁用受保护模式的情况下获取window.open返回的对象?您正在尝试执行受保护模式专门设计用于停止的操作之一 来自微软-: 从Internet Explorer进程以外的应用程序打开新窗口可能会导致返回空值。出现此限制是因为默认情况下Internet Explorer在受保护模式下运行。受保护模式的一个方面是,当Internet Explore

我试图捕获window.open的返回值,但它返回null/undefined。当IE8保护模式打开时会发生这种情况。在IE8中,是否有其他选项可以在不禁用受保护模式的情况下获取window.open返回的对象?

您正在尝试执行受保护模式专门设计用于停止的操作之一

来自微软-:

从Internet Explorer进程以外的应用程序打开新窗口可能会导致返回空值。出现此限制是因为默认情况下Internet Explorer在受保护模式下运行。受保护模式的一个方面是,当Internet Explorer的访问跨越进程边界时,阻止应用程序对其进行特权访问。使用此方法打开新窗口将生成一个新进程。有关受保护模式的详细信息,请参阅 . 这通常发生在承载WebBrowser控件的应用程序中

如果您正在寻找一种执行类似操作的方法,那么我们需要确切地知道您在做什么,以及您尝试如何使用window.open

不过,这很可能是一个特定于编程的问题,对于SU来说,这是一个离题的问题