Edit D:\rfid\libsystem\third-party\Lodop6.223_Clodop3.048\js\LodopFuncs.js
??ar CreatedOKLodop7766 = null, CLodopIsLocal; //====?????????? Web??????CLodop:=== //===(???????????????????????)=== function needCLodop() { try { var ua = navigator.userAgent; if (ua.match(/Windows\sPhone/i)) return true; if (ua.match(/iPhone|iPod/i)) return true; if (ua.match(/Android/i)) return true; if (ua.match(/Edge\D?\d+/i)) return true; var verTrident = ua.match(/Trident\D?\d+/i); var verIE = ua.match(/MSIE\D?\d+/i); var verOPR = ua.match(/OPR\D?\d+/i); var verFF = ua.match(/Firefox\D?\d+/i); var x64 = ua.match(/x64/i); if ((!verTrident) && (!verIE) && (x64)) return true; else if (verFF) { verFF = verFF[0].match(/\d+/); if ((verFF[0] >= 41) || (x64)) return true; } else if (verOPR) { verOPR = verOPR[0].match(/\d+/); if (verOPR[0] >= 32) return true; } else if ((!verTrident) && (!verIE)) { var verChrome = ua.match(/Chrome\D?\d+/i); if (verChrome) { verChrome = verChrome[0].match(/\d+/); if (verChrome[0] >= 41) return true; } } return false; } catch (err) { return true; } } //====??????CLodop?????????JS???,??????(8000??18000?????????????????==== if (needCLodop()) { try{ var src1 = "http://localhost:8000/CLodopfuncs.js?priority=1"; var src2 = "http://localhost:18000/CLodopfuncs.js?priority=0"; var head = document.head || document.getElementsByTagName("head")[0] || document.documentElement; var oscript = document.createElement("script"); oscript.src = src1; head.insertBefore(oscript, head.firstChild); oscript = document.createElement("script"); oscript.src = src2; head.insertBefore(oscript, head.firstChild); CLodopIsLocal = !!((src1 + src2).match(/\/\/localho|\/\/127.0.0./i)); }catch(e){} } //====???LODOP???????????==== function getLodop(oOBJECT, oEMBED) { var strHtmInstall = "<br><font color='#FF00FF'>???????????!??????<a href='install_lodop32.exe' target='_self'>??????</a>,??????????????????????</font>"; var strHtmUpdate = "<br><font color='#FF00FF'>?????????????!??????<a href='install_lodop32.exe' target='_self'>??????</a>,??????????????</font>"; var strHtm64_Install = "<br><font color='#FF00FF'>???????????!??????<a href='install_lodop64.exe' target='_self'>??????</a>,??????????????????????</font>"; var strHtm64_Update = "<br><font color='#FF00FF'>?????????????!??????<a href='install_lodop64.exe' target='_self'>??????</a>,??????????????</font>"; var strHtmFireFox = "<br><br><font color='#FF00FF'>??????????????odop??????npActiveXPLugin,??????????->??????????->??????????????</font>"; var strHtmChrome = "<br><br><font color='#FF00FF'>(??????????????????????????????????????????????????</font>"; var strCLodopInstall_1 = "<br><font color='#FF00FF'>Web??????CLodop???????????????<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>?????????</a>"; var strCLodopInstall_2 = "<br>???????????????<a href='CLodop.protocol:setup' target='_self'>??????????????</a>??"; var strCLodopInstall_3 = "?????????????????</font>"; var strCLodopUpdate = "<br><font color='#FF00FF'>Web??????CLodop?????!??????<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>??????</a>,??????????????</font>"; var LODOP; try { var ua = navigator.userAgent; var isIE = !!(ua.match(/MSIE/i)) || !!(ua.match(/Trident/i)); if (needCLodop()) { try { LODOP = getCLodop(); } catch (err) {} if (!LODOP && document.readyState !== "complete") { alert("??????????????????????????."); return; } if (!LODOP) { if("undefined" != typeof cataConfigData){ if(!cataConfigData.booklableprinter){ $.messager.confirm('??????', 'Web??????CLodop?????????????????????!</a>?', function(r){ if (r){ var url=base_path +"page/circulation/lodop.7z"; window.location=url; } }); } } //document.body.innerHTML = strCLodopInstall_1 + (CLodopIsLocal ? strCLodopInstall_2 : "") + strCLodopInstall_3 + document.body.innerHTML; return; } else { if (CLODOP.CVERSION < "3.0.4.8") { document.body.innerHTML = strCLodopUpdate + document.body.innerHTML; } if (oEMBED && oEMBED.parentNode) oEMBED.parentNode.removeChild(oEMBED); if (oOBJECT && oOBJECT.parentNode) oOBJECT.parentNode.removeChild(oOBJECT); } } else { var is64IE = isIE && !!(ua.match(/x64/i)); //=====????????odop?????????????????:========== if (oOBJECT || oEMBED) { if (isIE) LODOP = oOBJECT; else LODOP = oEMBED; } else if (!CreatedOKLodop7766) { LODOP = document.createElement("object"); LODOP.setAttribute("width", 0); LODOP.setAttribute("height", 0); LODOP.setAttribute("style", "position:absolute;left:0px;top:-100px;width:0px;height:0px;"); if (isIE) LODOP.setAttribute("classid", "clsid:2105C259-1E0C-4534-8141-A753534CB4CA"); else LODOP.setAttribute("type", "application/x-print-lodop"); document.documentElement.appendChild(LODOP); CreatedOKLodop7766 = LODOP; } else LODOP = CreatedOKLodop7766; //=====Lodop??????????????????:========== if ((!LODOP) || (!LODOP.VERSION)) { if (ua.indexOf('Chrome') >= 0) document.body.innerHTML = strHtmChrome + document.body.innerHTML; if (ua.indexOf('Firefox') >= 0) document.body.innerHTML = strHtmFireFox + document.body.innerHTML; document.body.innerHTML = (is64IE ? strHtm64_Install : strHtmInstall) + document.body.innerHTML; return LODOP; } } if (LODOP.VERSION < "6.2.2.3") { if (!needCLodop()) document.body.innerHTML = (is64IE ? strHtm64_Update : strHtmUpdate) + document.body.innerHTML; return LODOP; } //===?????????????????????(??????????????????):=== //======================================================= return LODOP; } catch (err) { alert("getLodop???:" + err); } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de