小编Goi*_*Off的帖子

Internet Explorer 11没有javascript window.open()函数支持的此类接口

我在这里有两台机器,它们都是带有Internet Explorer 11的Windows 7 64位机器.访问使用javascripts 命令的任何站点时,会发生以下错误:window.open()

没有这样的接口支持

并且永远不会打开请求的页面.

通过研究,如果发现Microsoft说要安装Internet Explorer的最新累积更新来解决此问题:

http://www.microsoft.com/en-us/download/details.aspx?id=43545

它已经安装在两个系统上都有问题.即使安装了IE补丁,仍会出现此错误.就此而言,所有当前的MS更新/补丁都已安装在两个系统上.

关于这个的任何想法?不知道还有什么可以尝试?当然,他们可以使用Firefox或Chrome,但有时IE必须使用... Argg!

UPDATE

看来,IE 11版本11.0.9600.17280而没有这个问题版本11.0.12一样.打扰在Windows 7 64位机器上运行..

javascript 64-bit internet-explorer windows-7 internet-explorer-11

5
推荐指数
1
解决办法
1万
查看次数

使用 perl XS 链接到 C 共享库

我是 PERL XS 的新手,有一个关于调用用 Ansi C 编写的共享库 (.so) 的问题。我似乎找不到任何很好的例子来说明如何做到这一点。我阅读了位于此处的入门教程(Hello World 和所有这些):

http://www.lemoda.net/xs/perlxstut/

我想修改它以在 C 共享库中调用名为 cpro_supported 的函数。

libpmap.so:

extern  int cpro_supported(int);
Run Code Online (Sandbox Code Playgroud)

以下是一些基础知识:

生成文件.PL:

use 5.008005;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'test',
    VERSION_FROM      => 'lib/test.pm', # finds $VERSION
    PREREQ_PM         => {}, # e.g., Module::Name => 1.1
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/test.pm', # retrieve …
Run Code Online (Sandbox Code Playgroud)

c linux perl makefile perl-xs

4
推荐指数
1
解决办法
2112
查看次数

Internet Explorer 9真的是7版吗?

我在用户系统上看到IE版本的一些时髦的东西.我的perl cgi应用程序说版本是'MSIE 7',当你点击帮助时,在网络浏览器中,它说它是MSIE 9.

浏览器数据的Perl代码:

我的$ browser_data = $ ENV {'HTTP_USER_AGENT'};

为什么说IE是版本7而不是9?

谢谢!!

约翰

perl internet-explorer

3
推荐指数
1
解决办法
191
查看次数

在#!/ bin / sh之后加破折号'-'-

我一直在CentOS 7上处理一些脚本,有时我看到:

#!/bin/sh -
Run Code Online (Sandbox Code Playgroud)

在第一行。查看手册页,sh我在Special Parameters

   -      Expands to the current option flags as  specified  upon  invocation,
          by  the  set  builtin  command, or those set by the shell
          itself (such as the -i option).
Run Code Online (Sandbox Code Playgroud)

这到底是什么意思?什么时候需要使用此特殊参数选项?

shell centos sh

3
推荐指数
1
解决办法
138
查看次数