Tag: google chrome frame

Google Chrome框架叠加仅适用一次

如果用户使用过时的浏览器,我会有一个页面提示您安装Google Chrome Frame 。 如果用户选择安装插件,它的效果很好。 但是,如果他/她选择不安装它并关闭该层; 使用相同的按钮再次打开图层是不可能的。 (基本上它只能工作一次。) 有没有什么办法可以在每次点击安装时强制Google Chrome Frame打开? (我试过强制cookie,但似乎没有用。) 更新[#1]: 测试页面在这里 。 Prompt $(function(){ if( $.browser.msie && $.browser.version < 9 ){ if( navigator.userAgent.indexOf('chromeframe') < 0 ){ $('.dngcf').bind('click', function(){ //document.cookie = 'disableGCFCheck=0;path=/;'; CFInstall.check({ url: 'http://www.google.com/chromeframe/eula.html?user=true', mode: "overlay", destination: "http://mywebsite.com" }); }); }else{ alert('GCF is already installed'); } }else{ alert('You need IE 6, 7 […]