1document.write('<script type="text/javascript" src="https://livechat.hkbn.net:8081/HKBN/web/js/jquery-3.6.0.min.js"></script>'); 2document.write('<script type="text/javascript" src="https://livechat.hkbn.net:8081/HKBN/web/js/drag.js"></script>'); 3 4 5var chatbotState; 6window.openChatWindow = async function(){ 7 var chatbotJson = await getChatProfile_AIO(); 8 var chatbot_VERSION = new Date().getTime(); 9 var iTop; 10 var iLeft; 11 // ææ©å ¨å±å±ç¤º 12 if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { 13 //å¦ææ¯ææ©ç«¯å¢å é¡ 14 iTop='100%'; 15 iLeft='100%'; 16 }else{ 17 //è·å¾çªå£çåç´ä½ç½® 18 iTop = (window.screen.availHeight - 30 - 600) / 2; 19 //è·å¾çªå£çæ°´å¹³ä½ç½® 20 iLeft = (window.screen.availWidth - 10 - 400) / 2; 21 } 22 23 24 try{ 25 if(chatbotState==undefined||chatbotState.location.href == undefined){ 26 chatbotState=window.open ('https://livechat.hkbn.net:8081/HKBN/web/index.html?version='+chatbot_VERSION+'&chatbotJson='+JSON.stringify(chatbotJson), 'chatbotPage', 'height=600, width=400, top='+iTop+', left='+iLeft+', toolbar=no,menubar=no, scrollbars=no, resizable=no,location=no, status=no'); 27 }else{ 28 if(chatbotJson.language=='chi'){ 29 alert("ç¶²ä»Netå·²ç¶æºå好ï¼è«é»æå°è©±æ¡ç¹¼çºåç¶²ä»å¾å¦ï¼"); 30 }else{ 31 alert("Net is ready! Click the dialog box to continue chatting with Net."); 32 } 33 34 } 35 }catch (e) { 36 if(chatbotJson.language=='chi'){ 37 alert("ç¶²ä»Netå·²ç¶æºå好ï¼è«é»æå°è©±æ¡ç¹¼çºåç¶²ä»å¾å¦ï¼"); 38 }else{ 39 alert("Net is ready! Click the dialog box to continue chatting with Net."); 40 } 41 } 42} 43 44
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.