一、缺少window对象
1、脱离浏览器环境,在外部不能直接调用。
写入window = {} window.location.href 或者 ,俗称补头,为了过检测。
2、缺少navigator
在缺少的位置,写入window.navigator.userAgent
二、缺少document对象
1.函数检测
需要补充 document.writer + ""
1、脱离浏览器环境,在外部不能直接调用。
写入window = {} window.location.href 或者 ,俗称补头,为了过检测。
2、缺少navigator
在缺少的位置,写入window.navigator.userAgent
需要补充 document.writer + ""