Google Chrome Frame - 如何检测GCF何时无法安装(一般故障或阻止)

时间:2012-08-13 11:02:02

标签: google-chrome-frame

有什么方法可以检测Google Chrome浏览器内嵌框架的安装是否失败或被阻止?我正在使用CFInstall脚本。这是我的实施:

CFInstall.check(
{
    preventPrompt: true,
    destination: window.location.toString(),

    onmissing: function ()
    {
        /* User clicks a button, iframe is shown... */
    }
});

...

<iframe src="https://www.google.com/chromeframe/eula.html?user=true"
        id="googlechromeframe"
        name="googlechromeframe"></iframe>

请注意,我将用户指向特定于用户的安装程序,该安装程序不需要管理员权限。安装仍然可以阻止......

0 个答案:

没有答案
相关问题