要补的环境我给提示,大家自行操作,出了问题就是因为缺环境,没补好
window = global;
// reading '_u'未定义
window.requestAnimationFrame = function () {}
// XMLHttpRequest 未定义
window.XMLHttpRequest = function () {}
window.onwheelx = {"_Ax": "0X21"
}
window._sdkGlueVersionMap = {} //自己补
document = {createElement: function () {},documentElement: function () {},createEvent: function () {},
}
document.cookie = '自己浏览器cookie'
navigator = {} //补全部 尽可能多些
location ={} // 补全部
localStoragec = {}
screen = {} // 补屏幕检测