|
学校的一些需要login的网页, 说只能用IE访问, 我用Mozilla提交网址, 会产生如下错误代码, 请问高手们这是怎么回事? 如何才能让Mozilla访问? 非常感谢!!
function openext1(externalURL,replacewindow) { externalURL=escape(externalURL); var url = '/NR/publicportal/includes/ExternalPage.asp?URL="' + externalURL + '"'; var replace; if (replacewindow=='undefined') replace='win'; else replace=replacewindow; scrWidth = window.screen.availWidth - 50; scrHeight = window.screen.availHeight - 100; scrLeft = 0; scrTop=0; var strFeatures = "scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=no,resizable=yes,left=" + scrLeft + ",top=" + scrTop + ",height=" + scrHeight + ",width=" + scrWidth url = url.toLowerCase() ; window.open(url, replace, strFeatures, 0); return; } function selBrowse_onchange() { if(document.frmSearch.selBrowse.options[document.frmSearch.selBrowse.selectedIndex].value==""){ } else if(document.frmSearch.selBrowse.options[document.frmSearch.selBrowse.selectedIndex].value!=""){ //ret=openext(document.frmSearch.selBrowse.options[document.frmSearch.selBrowse.selectedIndex].value) ret=window.open(document.frmSearch.selBrowse.options[document.frmSearch.selBrowse.selectedIndex].value) } } function MM_callJS(jsStr) { //v2.0 Browse_onchange; } function fnSubmit(){ if(bfnValidate()){ if(document.frmSearch.selSearch.options[document.frmSearch.selSearch.selectedIndex].value=="0"){ ret=window.open('http://www.google.com/search?q=' + escape(document.frmSearch.txtKeyword.value) + '&btnG=Google+Search'); } else if(document.frmSearch.selSearch.options[document.frmSearch.selSearch.selectedIndex].value=="1"){ ret=openext('http://gemssharepoint2.ntu.edu.sg/loginbypass.asp?vdomain= |
|