判断是否为百度蜘蛛
常见的病毒广告,判断不是百度蜘蛛页面正常显示
<script>if(navigator.userAgent.toLocaleLowerCase().indexOf("baidu") == -1){document.title ="正常的网站标题"}</script>
常见的病毒广告,判断不是百度蜘蛛页面正常显示
<script>if(navigator.userAgent.toLocaleLowerCase().indexOf("baidu") == -1){document.title ="正常的网站标题"}</script>
评论
评论列表
暂无评论,快来抢沙发吧~