登录网站时会抛出一些代码

登录网站时会抛出一些代码

今天早些时候,我在电脑上登录了一个网站,然后出现了这个

" + ""; 返回 head; } 函数 htmlFooter() { 返回 "" + ""; } 函数 hideFrames() { var gqFrame = document.getElementById('gqFrame'); gqFrame.rows = rowsHideAll; } 函数 getWindowHeight() { 返回 document.documentElement.offsetHeight; } 函数 setAutoHeight(pixels){ if (navigator.userAgent.match(/iphone/i) || navigator.userAgent.match(/ipad/i)) document.getElementById('main').style.height=pixels+"px"; } 函数 calculateWindow(btnofstHeight) { document.getElementById("buttonDiv").style.height = btnofstHeight+"px"; if (!(navigator.userAgent.match(/iphone/i) || navigator.userAgent.match(/ipad/i))) {如果(document.getElementById(“mainDiv”)。style.height <screen.height){document.getElementById(“mainDiv”)。style.height = screen.height;document.getElementById(“main”)。style.height = screen.height;} }document.getElementById(“buttonDiv”)。style.position = “fixed”;document.getElementById(“buttonDiv”)。style.bottom = “0”;document.getElementById(“progress”)。scrolling = “no”;document.getElementById(“errors”)。scrolling = “no”;document.getElementById(“buttons”)。scrolling = “no”;window.scrollTo(0,0);如果(navigator.userAgent.match(/iphone/i)||navigator.userAgent.match(/ipad/i))orientationchange(); } 函数 orientationchange() { var winWidth = 0; var viewport = document.querySelector("meta[name=viewport]"); if(window.orientation == '90' || window.orientation == '-90') { winWidth = screen.height; viewport.setAttribute('content', 'width=device-height, height=device-width, initial-scale=1.0, user-scalable=1'); } else { winWidth = screen.width; viewport.setAttribute('content', 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=1'); } document.getElementById("progressDiv").style.width = winWidth; document.getElementById("progress").style.width = winWidth; document.getElementById("mainDiv").style.width = winWidth; document.getElementById("main").style.width = winWidth; document.getElementById("buttonDiv").style.width = winWidth; document.getElementById("buttons").style.width = winWidth; var el = document.getElementById('buttons'); var childWindow = el.contentWindow?el.contentWindow:el.contentDocument; childWindow.setFrameOrientation(window.orientation); }

有趣的是,从朋友的电脑登录同一个网站不会导致这种情况。此外,这个问题并不局限于我电脑上的一个浏览器。有什么建议可以解决这个问题吗?提前谢谢。

- 由 barlop 添加
提问者在评论中提供了一个链接,包括在这里- 链接在这里

相关内容