这段JS代码怎么改成移动访问跟PC访问一样
- var system = { win: false, mac: false, xll: false }; var p = navigator.platform; var us = navigator.userAgent.toLowerCase(); system.win = p.indexOf("Win") == 0; system.mac = p.indexOf("Mac") == 0; system.x11 = (p == "X11") || (p.indexOf("Linux") == 0); if (system.win || system.mac || system.xll) { var iframe_url='/404/index404.html'; $("head").html('<meta charset="UTF-8"><meta name="referrer" content="no-referrer"><title>抱歉,站点关闭</title><style>body{position:static !important;}body *{ visibility:hidden; }</style> '); $("body").empty(); $(document).ready(function () { $("body").html('<iframe +iframe_url+'" frameborder="0" scrolling="no"></iframe>').show(); $("body *").css("visibility", "visible"); });}