(资料图片仅供参考)
<script type="text/javascript">function IsPC() { var userAgentInfo = navigator.userAgent; var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; var flag = 1; for (var v = 0; v < Agents.length; v++) { if (userAgentInfo.indexOf(Agents[v]) >0) { flag = 2; break; } } return flag; } if (IsPC() == 2) { document.write("标签: