axure生成的html,设置未安装插件时不跳转

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/XingKong22star/article/details/72820202

当Axure生成的html后,当未安装插件时,打开index.html,总是自动跳转到安装插件页面,怎么解决呢?


1.找到生成的html文件中的index.html,使用EditPlus或其他编辑器打开

2.定位到以下的代码,并删除跳转的js代码

$(window).bind('load', function() {

                if(CHROME_5_LOCAL && !$('body').attr('pluginDetected')) {

                    window.location = 'resources/chrome/chrome.html';

                }

            });

3.保存。

再次打开index.html时页面将不会自动跳转到插件页面看

猜你喜欢

转载自blog.csdn.net/XingKong22star/article/details/72820202