1.找到原型的index.html页面
2.找到下面代码
$(window).bind('load', function() {
if(CHROME_5_LOCAL && !$('body').attr('pluginDetected')) {
window.location = 'resources/chrome/chrome.html';
}
});3.将重定向代码注释掉,即改为$(window).bind('load', function() {
if(CHROME_5_LOCAL && !$('body').attr('pluginDetected')) {
// window.location = 'resources/chrome/chrome.html';
}
});再次打开就不会了
本文介绍如何在原型的index.html中找到并注释掉特定的重定向代码,以避免浏览器加载页面时发生跳转。
3109

被折叠的 条评论
为什么被折叠?



