最佳答案
更改页面时,弹出窗口似乎来自这段代码:
History.log('statechange:', State.data, State.title, State.url);
快速浏览一下即可在支持的浏览器中登录到控制台,否则会发出警报(因此您会在 IE 中收到警报消息)。
<小时/>您还会收到来自包含history.js两次的警报。
scripts/bundled/html4+html5/jquery.history.js
scripts/uncompressed/history.adapter.jquery.js
在插件中,有以下代码需要检查:
// Check Existence
if ( typeof History.Adapter !== 'undefined' ) {
throw new Error('History.js Adapter has already been loaded...');
}
关于jquery - History.js - IE 弹出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10825140/