1try{ 2 var esdtemp = document.createElement("style"); 3 esdtemp.setAttribute("type", "text/css"); 4 esdtemp.id="esdToolsStyle"; 5 esdtemp.textContent=".esd-tools {background: transparent;font-size:16px;color: #000000;left: 0;padding: 10px;position: absolute;top: -4.2rem;-webkit-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;z-index: 7001;}.esd-tools:focus {background: white;left: 0;outline: 0;position: absolute;top: 0;-webkit-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;}" 6 document.getElementsByTagName("head")[0].appendChild(esdtemp); 7 8 var esdTipLink1 = document.createElement("a"); 9 esdTipLink1.setAttribute("href","javascript:void(0);"); 10 esdTipLink1.setAttribute("aria-label","æå车é®å¨æ°çªå£æå¼æ éç¢è¯´æé¡µé¢,æAltå æ³¢æµªé®æå¼å¯¼ç²æ¨¡å¼ã"); 11 esdTipLink1.appendChild(document.createTextNode("æå车é®å¨æ°çªå£æå¼æ éç¢è¯´æé¡µé¢,æAlt+~鮿å¼å¯¼ç²æ¨¡å¼ã")); 12 esdTipLink1.tabIndex="7"; 13 esdTipLink1.id="esdTipLink1"; 14 esdTipLink1.className = "esd-tools"; 15 document.getElementsByTagName("BODY")[0].appendChild(esdTipLink1); 16 esdTipLink1.onclick = function(){ 17 window.open("https://www.yunmd.net/toolbar/allToolvarV5/help.html","_blank"); 18 } 19 20}catch(e){ 21 //console.log(e); 22} 23 24 25var EsdToolbarInit={}; 26 27EsdToolbarInit.path = "https://www.yunmd.net/toolbar/allToolvarV5/"; 28EsdToolbarInit.toolbarOpenStatus = null; 29 30EsdToolbarInit.loadScript = function(func){ 31 if(navigator.userAgent.toLowerCase().indexOf("msie 8.0")>-1||navigator.userAgent.toLowerCase().indexOf("msie 7.0")>-1){ 32 return false; 33 } 34 var esd_jquery_js = document.createElement('script'); 35 esd_jquery_js.setAttribute('type', 'text/javascript'); 36 esd_jquery_js.setAttribute('src', EsdToolbarInit.path+'jquery.js'); 37 esd_jquery_js.setAttribute('charset', 'utf-8'); 38 esd_jquery_js.onload = function(){ 39 var esd_base64_js = document.createElement('script'); 40 esd_base64_js.setAttribute('type', 'text/javascript'); 41 esd_base64_js.setAttribute('src', EsdToolbarInit.path+'base64.js'); 42 esd_base64_js.setAttribute('charset', 'utf-8'); 43 esd_base64_js.onload = function(){ 44 var esd_soundmanager2_js = document.createElement('script'); 45 esd_soundmanager2_js.setAttribute('type', 'text/javascript'); 46 esd_soundmanager2_js.setAttribute('src', EsdToolbarInit.path+'soundmanager2.js'); 47 esd_soundmanager2_js.setAttribute('charset', 'utf-8'); 48 esd_soundmanager2_js.onload = function(){ 49 var esd_pinyin_js = document.createElement('script'); 50 esd_pinyin_js.setAttribute('type', 'text/javascript'); 51 esd_pinyin_js.setAttribute('src', EsdToolbarInit.path+'pinyin.js'); 52 esd_pinyin_js.setAttribute('charset', 'utf-8'); 53 esd_pinyin_js.onload = function(){ 54 var esd_handleInnerIframe_js = document.createElement('script'); 55 esd_handleInnerIframe_js.setAttribute('type', 'text/javascript'); 56 esd_handleInnerIframe_js.setAttribute('src', EsdToolbarInit.path+'handleInnerIframe.js'); 57 esd_handleInnerIframe_js.setAttribute('charset', 'utf-8'); 58 esd_handleInnerIframe_js.onload = function(){ 59 var esd_toolbar_js = document.createElement('script'); 60 esd_toolbar_js.setAttribute('type', 'text/javascript'); 61 esd_toolbar_js.setAttribute('src', EsdToolbarInit.path+'toolbar.js'); 62 esd_toolbar_js.setAttribute('charset', 'utf-8'); 63 esd_toolbar_js.setAttribute('id', 'ESDWebAppToolbar'); 64 document.head.appendChild(esd_toolbar_js); 65 esd_toolbar_js.onload = function(){ 66 if(func!=null){ 67 func(); 68 } 69 }; 70 }; 71 document.head.appendChild(esd_handleInnerIframe_js); 72 }; 73 document.head.appendChild(esd_pinyin_js); 74 }; 75 document.head.appendChild(esd_soundmanager2_js); 76 }; 77 document.head.appendChild(esd_base64_js); 78 }; 79 document.head.appendChild(esd_jquery_js); 80}; 81 82EsdToolbarInit.getCookie = function(name){ 83 var nameEQ = name + "="; 84 var ca = document.cookie.split(';'); 85 for (var i = 0; i < ca.length; i++) { 86 var c = ca[i];
87 while (c.charAt(0) == ' ') 88 c = c.substring(1, c.length); 89 if (c.indexOf(nameEQ) == 0) 90 return c.substring(nameEQ.length, c.length); 91 } 92 return null; 93}; 94EsdToolbarInit.setCookie = function(name, value, days){ 95 if (days) { 96 var date = new Date(); 97 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 98 var expires = "; expires=" + date.toGMTString(); 99 } 100 else { 101 var expires = ""; 102 } 103 document.cookie = name + "=" + value + "; path=/"; 104}; 105EsdToolbarInit.esdTabIndex = 0; 106EsdToolbarInit.init = function(){ 107 EsdToolbarInit.toolbarOpenStatus = EsdToolbarInit.getCookie("wzaIsOn"); 108 if(EsdToolbarInit.toolbarOpenStatus=="true"||EsdToolbarInit.toolbarOpenStatus==true){ 109 EsdToolbarInit.loadScript(null); 110 }else{ 111 if(document.getElementById("toolbarSwitch")!=null){ 112 document.getElementById("toolbarSwitch").onclick=function(){ 113 if(navigator.userAgent.toLowerCase().indexOf("msie 8.0")>-1||navigator.userAgent.toLowerCase().indexOf("msie 7.0")>-1){ 114 alert("å½åæµè§å¨çæ¬è¿ä½,è¾ å©å·¥å ·æ æ³æ£å¸¸ä½¿ç¨!\r\nè¯·ä½¿ç¨æ´é«çæ¬çæµè§å¨!"); 115 return false; 116 } 117 EsdToolbarInit.loadScript(null); 118 EsdToolbarInit.setCookie("wzaIsOn", "true", 10); 119 document.getElementById("toolbarSwitch").onclick=null; 120 document.getElementById("toolbarSwitch").onkeydown=null 121 } 122 document.getElementById("toolbarSwitch").onkeydown=function(e){ 123 if (e.keyCode == 13) { 124 if(navigator.userAgent.toLowerCase().indexOf("msie 8.0")>-1||navigator.userAgent.toLowerCase().indexOf("msie 7.0")>-1){ 125 alert("å½åæµè§å¨çæ¬è¿ä½,è¾ å©å·¥å ·æ æ³æ£å¸¸ä½¿ç¨!\r\nè¯·ä½¿ç¨æ´é«çæ¬çæµè§å¨!"); 126 return false; 127 } 128 EsdToolbarInit.setCookie("wzaIsOn", "true", 10); 129 EsdToolbarInit.setCookie("readScreen", true, 10); 130 EsdToolbarInit.setCookie("speakVolume", 0, 10); 131 EsdToolbarInit.loadScript(function(){ 132 EsdToolbar.readScreen.init(); 133 jq_t("#toolbar").hide(); 134 jq_t("#toolbarHtml").show("fast",function(){ 135 jq_t("#toolbarPage2").show(); 136 //if(EsdToolbar.statusmagnifier == "on"){ 137 // EsdToolbar.magnifier.toolbarMagnifier(); 138 //} 139 }); 140 jq_t("body").css("padding-top", "98px"); 141 EsdToolbar.rebuild(); 142 EsdToolbar.isOpen = true; 143 }); 144 document.getElementById("toolbarSwitch").onclick=null; 145 document.getElementById("toolbarSwitch").onkeydown=null 146 return false; 147 } 148 } 149 } 150 document.onkeydown = function(e){ 151 //if (e.ctrlKey&&e.altKey) { 152 if (e.altKey) { 153 if(typeof(EsdToolbar)=="undefined"){ 154 if (e.keyCode == 192) { //alt+~ 155 if(navigator.userAgent.toLowerCase().indexOf("msie 8.0")>-1||navigator.userAgent.toLowerCase().indexOf("msie 7.0")>-1){ 156 alert("å½åæµè§å¨çæ¬è¿ä½,è¾ å©å·¥å ·æ æ³æ£å¸¸ä½¿ç¨!\r\nè¯·ä½¿ç¨æ´é«çæ¬çæµè§å¨!"); 157 return false; 158 } 159 document.getElementById("toolbarSwitch").onclick=null; 160 document.getElementById("toolbarSwitch").onkeydown=null 161 162 EsdToolbarInit.setCookie("wzaIsOn", "true", 10); 163 EsdToolbarInit.setCookie("readScreen", true, 10); 164 EsdToolbarInit.setCookie("speakVolume", 0, 10); 165 EsdToolbarInit.loadScript(function(){ 166 EsdToolbar.readScreen.init(); 167 jq_t("#toolbar").hide(); 168 jq_t("#toolbarHtml").show("fast",function(){ 169 jq_t("#toolbarPage2").show(); 170 //if(EsdToolbar.statusmagnifier == "on"){ 171 // EsdToolbar.magnifier.toolbarMagnifier(); 172 //} 173 }); 174 jq_t("body").css("padding-top", "98px"); 175 EsdToolbar.rebuild(); 176 EsdToolbar.isOpen = true; 177 }); 178 } 179 }else if(EsdToolbar.isOpen==false){ 180 if (e.keyCode == 192) { //alt+~ 181 EsdToolbar.openKeydown(); 182 } 183 } 184 } 185 } 186 } 187} 188 189EsdToolbarInit.init(); 190 191 192 193
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.