网站怎么设置禁止pc端访问答:不能禁止PC端访问。移动端的网站要做移动适配。然后在用JS代码来判断 var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");var browser = navigator.userAgent...