1__commonFunc__.addListener(window, 'DOMContentLoaded', function(){ 2 //ã¯ã¨ãªã¼ã®åå¾ 3 var querys = new TQueryStrings(); 4 5 //åæè¡¨ç¤ºåæ¿ 6 var cls=document.body.getAttribute("class"); 7 //表示ã¢ã¼ã 8 var qIdx=querys.search("view"); 9 if(qIdx!=-1){ 10 var defaultCls=""; 11 var deleteCls=""; 12 switch(querys.items[qIdx].value){ 13 case "0": 14 defaultCls="cst_iv_normal"; //ãã¼ãã« 15 deleteCls="cst_iv_custom"; 16 break; 17 case "1": 18 defaultCls="cst_iv_custom"; //ã«ã¹ã¿ã 19 deleteCls="cst_iv_normal"; 20 break; 21 default: 22 break; 23 } 24 if(defaultCls!==""){ 25 if(cls.indexOf(defaultCls)==-1){ 26 if(cls.indexOf(deleteCls)>=0){ 27 //æ¢ã«BODYã«ããã©ã«ãã®è¡¨ç¤ºè¨å®ãæå®ããã¦ããå ´åã¯ããããç½®ãæãã 28 cls=cls.replace(deleteCls,defaultCls); 29 document.body.setAttribute("class",cls); 30 } else{ 31 __commonFunc__.addClassName(document.body,defaultCls); //表示è¨å®ã追å 32 } 33 } 34 } 35 } 36 37 __customFunc__.startFunction(); 38 __customFunc__.classChangedProc(); 39 40 __sreaderFunc__.onLoadContentResponse=function(obj){ 41 TSreaderFunc.prototype.onLoadContentResponse.call(this,obj); 42 43 44 //BODYã«displayedã¯ã©ã¹ã追å 45 __commonFunc__.addClassName(document.body,"displayed"); 46 TSreaderFunc.prototype.initFitModeNormal(); 47 }; 48 49 __sreaderFunc__.onMenuResponse=function(obj){ 50 if(document.body.getAttribute("class").indexOf("cst_iv_custom")!=-1){ 51 TSreaderFunc.prototype.onMenuResponse.call(this,obj); 52 } 53 }; 54 55 __sreaderFunc__.keyDown=function(event){ 56 var keyCode = 0; 57 var Shift = event.shiftKey; 58 if(event.charCode!==null && event.charCode!=undefined){ 59 if(event.charCode>0){ 60 keyCode=event.charCode; 61 } 62 } 63 if(event.keyCode!==null && event.keyCode!=undefined){ 64 if(event.keyCode>0){ 65 keyCode=event.keyCode&0x7F; 66 } 67 } 68 69 switch(keyCode){ 70 case 68: //d ã¡ãã¥ã¼è¡¨ç¤º 71 var cls=document.body.getAttribute("class"); 72 var idxNormal=cls.indexOf("cst_iv_normal"); 73 if(idxNormal!=-1){ 74 event.preventDefault(); 75 event.stopPropagation(); 76 return; 77 } 78 break; 79 default: 80 break; 81 } 82 TSreaderFunc.prototype.keyDown.call(this,event); 83 }; 84 85 __sreaderFunc__.mouseWheel=function(event){ 86 var cls=document.body.getAttribute("class"); 87 var idxNormal=cls.indexOf("cst_iv_normal"); 88 if(idxNormal!=-1){ 89 return; 90 } 91 TSreaderFunc.prototype.mouseWheel.call(this,event); 92 }; 93 94 __sreaderFunc__.resize=function(event){ 95 if(__commonFunc__.isIOS && event!==true){ 96 setTimeout(function(){ 97 __sreaderFunc__.resize(true); 98 },0); 99 return; 100 } 101 if((__commonFunc__.isIPhone || __commonFunc__.isIPod) && (__commonFunc__.isChrome===false)){ 102 var cls=document.body.getAttribute("class"); 103 if(cls.indexOf("cst_iv_custom")!=-1){ 104 var ww=window.innerWidth; 105 var wh=window.innerHeight; 106 var elm=document.getElementById("contents"); 107 if(elm){ 108 if(ww<wh){ 109 elm.style.height=""; 110 } else { 111 elm.style.height=wh+"px"; 112 } 113 window.scrollTo(0,0); 114 if (!('ResizeObserver' in window)) { 115 __sreaderFunc__.refreshRequest(); 116 } 117 } 118 } 119 120 var enbl=true; 121 if(document.activeElement!==null){ 122 var elm=document.activeElement; 123 while(enbl && elm.tagName!="BODY" && elm.tagName!="HTML"){ 124 if(elm.tagName=="INPUT"){ 125 enbl=false; 126 } else{ 127 elm=elm.parentElement; 128 if(elm==null){ 129 break; 130 } 131 } 132 } 133 } 134 135 if(enbl){ 136 __sreaderFunc__.removeCustomIFrame(); 137 __commonFunc__.removeClassName(document.body,"show_banner"); 138 __sreaderFunc__.hideMenu(); 139 } 140 141 if(Config.AnalyticsUrlEx!==null && Config.AnalyticsUrlEx!=="" && Config.AnalyticsUrlEx!=undefined){ 142 this.postAnalyticsUrlEx(); 143 } 144 145 var changedScrollMode=this.updateScrollMode(); 146 this.setWatermark(); 147 this.resizeOverswipe(); 148 if (changedScrollMode) { 149 this.showFirstGuide(); 150 } 151 152 return; 153 } 154 155 TSreaderFunc.prototype.resize.call(this,event); 156 }; 157}); 158 159var TCustomFunc=function(){ 160 this.oldInnerWidth=null; 161 this.oldInnerHeight=null; 162 this.oldOrientation=null; 163 this.oldClientWidth=null; 164 this.oldClientHeight=null; 165}; 166var __customFunc__=new TCustomFunc(); 167 168TCustomFunc.prototype.get_android_ver=function(){ 169 var androidVer=0; 170 var verWk0,verWk1,verWk2,verWk3; 171 var uAgent=navigator.userAgent; 172 if(__commonFunc__.isAndroid){ 173 //Androidã®ãã¼ã¸ã§ã³åå¾ 174 androidVer=0.0; 175 verWk0=uAgent.indexOf('Android '); 176 if(verWk0>-1){ 177 verWk1=uAgent.substring(verWk0+8); 178 verWk2=verWk1.indexOf(String.fromCharCode(59)); 179 if(verWk2>=-1){ 180 verWk1=verWk1.substring(0,verWk2); 181 } 182 verWk2=verWk1.indexOf("."); 183 verWk3=verWk1.lastIndexOf("."); 184 if(verWk2<verWk3){ 185 verWk1=verWk1.substring(0,verWk3)+verWk1.substring(verWk3+1); 186 } 187 if(isNaN(verWk1)!==true){
188 try{ 189 androidVer=parseFloat(verWk1); 190 } catch(ex){ 191 androidVer=0; 192 } 193 } 194 } 195 } 196 return androidVer; 197}; 198 199TCustomFunc.prototype.get_ios_version=function(){ 200 var iOSVer = 0.0; 201 var uAgent = navigator.userAgent; 202 var verWk0=uAgent.indexOf(' OS '); 203 var verWk1; 204 var verWk2; 205 if(verWk0>-1){ 206 verWk1=uAgent.substring(verWk0+4); 207 verWk2=verWk1.indexOf(" "); 208 if(verWk2>=-1){ 209 verWk1=verWk1.substring(0,verWk2); 210 } 211 verWk1=verWk1.replace("_","."); 212 verWk2=verWk1.indexOf("_"); 213 if(verWk2>-1){ 214 verWk1=verWk1.substring(0,verWk2); 215 } 216 if(isNaN(verWk1)!==true){ 217 try{ 218 iOSVer=parseFloat(verWk1); 219 } catch(ex){ 220 iOSVer=0; 221 } 222 } 223 } 224 225 return iOSVer; 226}; 227 228function free(elm){ 229 try{ 230 if(elm === null || elm == undefined){ 231 return; 232 } else if(elm instanceof Array){ 233 var len = elm.length; 234 if(len>0){ 235 for(var i=len-1;i>=0;i--){ 236 free(elm[i]); 237 delete elm[i]; 238 } 239 } 240 elm.length=0; 241 } else if(elm instanceof Object){ 242 if(elm.free == undefined){ 243 return; 244 } else { 245 elm.free(); 246 } 247 248 for(var p in elm){ 249 if(elm.hasOwnProperty(p)){ 250 if(typeof(elm[p])!=="function"){ 251 free(elm[p]); 252 } 253 delete elm[p]; 254 } 255 } 256 } 257 } catch(ex){} 258 elm=null; 259} 260 261var TPairData = function() 262{ 263 this.name = null; 264 this.value = null; 265 266 if(arguments.length==2){ 267 this.name = arguments[0]; 268 this.value = arguments[1]; 269 } 270}; 271 272var TQueryStrings = function() 273{ 274 this.items = new Array(); 275 276 //ã¯ã¨ãªã¼åå² 277 //URL ã ? ã§åå² 278 var splitStr = location.search.replace("&","&").split("?"); 279 if( splitStr.length > 1 ){ 280 var query = splitStr[1].split("&"); 281 for(var idx=0;idx<query.length;idx++){ 282 splitStr = query[idx].split("="); 283 284 var n = decodeURIComponent(__commonFunc__.trim(splitStr[0].toLowerCase())); 285 var v = ""; 286 if(n.length>0){ 287 if(splitStr.length>1){ 288 v = decodeURIComponent(__commonFunc__.trim(splitStr[1])); 289 } 290 291 this.items[this.items.length]=new TPairData(n,v); 292 } 293 } 294 } 295}; 296TQueryStrings.prototype.search = function(nam){ 297 if(this.items.length===0){ 298 return -1; 299 } 300 301 var n = nam.toLowerCase(); 302 for(var i = 0;i<this.items.length;i++){ 303 if(this.items[i].name==n){ 304 return i; 305 } 306 } 307 return -1; 308}; 309 310TCustomFunc.prototype.startFunction=function(){ 311 var __this__=this; 312 __commonFunc__.addListener(window,"resize",function(event){__this__.windowResize(event);}); 313 314 __commonFunc__.addListener(document.getElementById("cst_toleftpage"),"click",function(event){__this__.showLeftPage(event);}); 315 __commonFunc__.addListener(document.getElementById("cst_toleftpage_normal"),"click",function(event){__this__.showLeftPage(event);}); 316 __commonFunc__.addListener(document.getElementById("cst_toleftpage_custom"),"click",function(event){__this__.showLeftPage(event);}); 317 __commonFunc__.addListener(document.getElementById("cst_torightpage"),"click",function(event){__this__.showRightPage(event);}); 318 __commonFunc__.addListener(document.getElementById("cst_torightpage_normal"),"click",function(event){__this__.showRightPage(event);}); 319 __commonFunc__.addListener(document.getElementById("cst_torightpage_custom"),"click",function(event){__this__.showRightPage(event);}); 320 __commonFunc__.addListener(document.getElementById("cst_viewfull"),"click",function(event){__this__.changeDisplayMode(event);}); 321 __commonFunc__.addListener(document.getElementById("cst_viewcustom_normal"),"click",function(event){__this__.changeDisplayMode(event);}); 322 __commonFunc__.addListener(document.getElementById("cst_viewcustom_custom"),"click",function(event){__this__.changeDisplayMode(event);}); 323 __commonFunc__.addListener(document.getElementById("cst_viewnormal"),"click",function(event){__this__.changeDisplayMode(event);}); 324 __commonFunc__.addListener(document.getElementById("cst_viewnormal_normal"),"click",function(event){__this__.changeDisplayMode(event);}); 325 __commonFunc__.addListener(document.getElementById("cst_viewnormal_custom"),"click",function(event){__this__.changeDisplayMode(event);}); 326 327 //__commonFunc__.response_message_function_array["onTurnPageToOutside"]=function(obj){if
327(obj.side=="tail"){__this__.onTerminatedFunction();}}; 328 329 if(__commonFunc__.isIOS && __commonFunc__.osVer>=9.3){ 330 __commonFunc__.addListener(document.getElementById("content_filter"),"transitionend",function(event){__this__.filterTransitionEnd(event);}); 331 } 332 333 if(__commonFunc__.isIOS && __commonFunc__.osVer>=14.3 && screen.height <= 580){ 334 if(document.getElementsByTagName('HEAD')){ 335 // æ°ããstyleè¦ç´ ã使 336 var newStyle = document.createElement('style'); 337 //newStyle.type = 'text/css'; 338 // CSSã®å å®¹ãæ¸ã 339 newStyle.innerText = '@media (orientation: landscape) {.cst_iv_normal #contents{height:70vh;}}'; 340 // HEADè¦ç´ ã®æå¾ã«ä½æããstyleè¦ç´ ã追å 341 document.getElementsByTagName('HEAD').item(0).appendChild(newStyle); 342 } 343 } 344 345 elm=document.getElementById("cst_change_vh_normal"); 346 if(elm!==null){ 347 __commonFunc__.addListener(elm, "click",function(event){__sreaderFunc__.changeScrollDirection(event);}); 348 } 349 350}; 351 352TSreaderFunc.prototype.initFitModeNormal=function(){ 353 var speedbinb = SpeedBinb.getInstance('content'); 354 if (Config.EnabledSelectingFitMode === true && speedbinb.isPaginatedContent) { 355 var fit_mode_change_button_normal=document.getElementById("menu_change_fitmode_normal"); 356 if(fit_mode_change_button_normal){ 357 __commonFunc__.addListener(fit_mode_change_button_normal, "click",function(event){__sreaderFunc__.changeFitMode(event);}); 358 } 359 } 360} 361 362TCustomFunc.prototype.classChangedProc=function(){ 363 var cls=document.body.getAttribute("class"); 364 var idxNormal=cls.indexOf("cst_iv_normal"); 365 var idxCustom=cls.indexOf("cst_iv_custom"); 366 367 if(idxNormal>=0){ 368 //ãã¼ãã«ã¢ã¼ã夿´æå¦ç 369 //ãµã¤ãã¡ãã¥ã¼ä¸ä½¿ç¨ 370 //è¨å®ç»é¢ä¸ä½¿ç¨ 371 //ãã¤ã¼ã«ã«ãããã¼ã¸ãããä¸ä½¿ç¨ 372 //ã¡ã¢æ©è½ä¸ä½¿ç¨ 373 //ã¡ãã¥ã¼ã«ã¼ã½ã«ä¸ä½¿ç¨ãConfig.CursorShowMenuã®è¨å®ãæå¹ã«ããå ´åã¯true 374 } 375 if(idxCustom>=0){ 376 //ã«ã¹ã¿ã ã¢ã¼ã夿´æå¦ç 377 //ãµã¤ãã¡ãã¥ã¼ä½¿ç¨ 378 //è¨å®ç»é¢ä½¿ç¨ 379 //ãã¤ã¼ã«ã«ãããã¼ã¸ãããä½¿ç¨ 380 //ã¡ã¢æ©è½ä½¿ç¨ 381 //ã¡ãã¥ã¼ã«ã¼ã½ã«ä½¿ç¨ 382 } 383 384 this.windowResize(true); 385}; 386 387//é²è¦§æçµãã¼ã¸ããæ´ã«ãã¼ã¸é·ç§»ãããã¨ããéã®å¦ç 388TCustomFunc.prototype.onTerminatedFunction=function(){ 389 var cls=document.body.getAttribute("class"); 390 391 //æå¤§å表示ã§å¼ã³åºããã¦å ´åã¯ãæ¨æºè¡¨ç¤ºã«å¤æ´ããã 392 var __this__=this; 393 if(cls.indexOf("cst_iv_custom")!=-1){ 394 setTimeout(function(){ 395 //__this__.hideToast(); 396 __this__.changeDisplayMode(); //ãã¼ãã«ã¢ã¼ãã¸å¤æ´ 397 },0); 398 } 399}; 400 401TCustomFunc.prototype.windowResize=function(event){ 402 if(__commonFunc__.isIOS){ 403 if((this.oldInnerWidth!=null || this.oldInnerHeight!=null)){ 404 if(this.oldInnerWidth==window.innerWidth && this.oldInnerHeight==window.innerHeight){ 405 this.oldInnerWidth=null; 406 this.oldInnerHeight=null; 407 this.oldOrientation=null; 408 var __this__=this; 409 var __event__=event; 410 setTimeout(function(){__this__.windowResize(__event__);},500); 411 return; 412 } 413 } 414 if(this.oldClientWidth==document.body.clientWidth && this.oldClientHeight==document.body.clientHeight && event!==true && this.oldOrientation!=window.orientation){ 415 return; 416 } 417 418 this.oldInnerWidth=window.innerWidth; 419 this.oldInnerHeight=window.innerHeight; 420 this.oldOrientation=window.orientation; 421 422 this.oldClientWidth=document.body.clientWidth; 423 this.oldClientHeight=document.body.clientHeight; 424 } 425 426 //è¡¨ç¤ºç¶æ è¨å® 427 if(__sreaderFunc__.contentInfo!=null){ 428 __sreaderFunc__.setWatermark(); 429 __sreaderFunc__.resizeOverswipe(); 430 __sreaderFunc__.resize(); 431 var changedScrollMode=__sreaderFunc__.updateScrollMode(true); 432 if (changedScrollMode) { 433 __sreaderFunc__.showFirstGuide(); 434 } 435 setTimeout(function(){ 436 if (!('ResizeObserver' in window)) { 437 __sreaderFunc__.refreshRequest(); 438 } 439 var speedbinb = SpeedBinb.getInstance('content'); 440 speedbinb.scrollMode=speedbinb.scrollMode; 441 442 var cls=document.body.getAttribute("class"); 443 var idxBlindSet=cls.indexOf("blind_set"); 444 var idxBlindIn=cls.indexOf("blind_in"); 445 var idxBlindOut=cls.indexOf("blind_out"); 446 if(idxBlindSet>=0 && idxBlindIn>=0){ 447 if(idxBlindOut==-1){
448 __commonFunc__.addClassName(document.body,"blind_out"); 449 } 450 } 451 },0); 452 } 453}; 454 455TCustomFunc.prototype.showLeftPage=function(event){ 456 if(event){ 457 if(event.preventDefault){ 458 event.preventDefault(); 459 event.stopPropagation(); 460 } 461 } 462 463 var cls=document.body.getAttribute("class"); 464 var isR2L=(cls.indexOf("rtl")!=-1); 465 var speedbinb=SpeedBinb.getInstance('content'); 466 if(speedbinb.isPaginatedContent){ 467 var idxSDVert=cls.indexOf("sd_vert"); 468 if(idxSDVert!=-1){ 469 __sreaderFunc__.moveTo(isR2L?"nextSection":"prevSection",true); 470 } else{ 471 __sreaderFunc__.moveTo("leftSpread",true); 472 } 473 } else{ 474 //Webtoon 475 speedbinb.scrollTo(0,isR2L?"90%":"-90%",true); 476 } 477}; 478 479TCustomFunc.prototype.showRightPage=function(event){ 480 if(event){ 481 if(event.preventDefault){ 482 event.preventDefault(); 483 event.stopPropagation(); 484 } 485 } 486 var cls=document.body.getAttribute("class"); 487 var isR2L=(cls.indexOf("rtl")!=-1); 488 var speedbinb=SpeedBinb.getInstance('content'); 489 if(speedbinb.isPaginatedContent){ 490 var idxSDVert=cls.indexOf("sd_vert"); 491 if(idxSDVert!=-1){ 492 __sreaderFunc__.moveTo(isR2L?"prevSection":"nextSection",true); 493 } else{ 494 __sreaderFunc__.moveTo("rightSpread",true); 495 } 496 } else{ 497 //Webtoon 498 speedbinb.scrollTo(0,isR2L?"-90%":"90%",true); 499 } 500}; 501 502TCustomFunc.prototype.filterTransitionEnd=function(event){ 503 var cls=document.body.getAttribute("class"); 504 var idxBlindSet=cls.indexOf("blind_set"); 505 var idxBlindIn=cls.indexOf("blind_in"); 506 var idxBlindOut=cls.indexOf("blind_out"); 507 if(idxBlindSet>=0 && idxBlindIn>=0){ 508 if(idxBlindOut==-1){ 509 var __this__=this; 510 setTimeout(function(){ 511 __this__.changeDisplayMode("blind_in"); 512 },0); 513 } else{ 514 __commonFunc__.removeClassName(document.body,"blind_set"); 515 __commonFunc__.removeClassName(document.body,"blind_in"); 516 __commonFunc__.removeClassName(document.body,"blind_out"); 517 } 518 } 519} 520 521TCustomFunc.prototype.changeDisplayMode=function(event){ 522 var cls=document.body.getAttribute("class"); 523 524 if(cls.indexOf("menuVisible")!=-1){ 525 __commonFunc__.removeClassName(document.body,"menuHidden"); 526 __commonFunc__.removeClassName(document.body,"menuVisible"); 527 __sreaderFunc__.updateBookmarkIcon(); 528 } 529 530 if(event){ 531 if(event!=="blind_in"){ 532 if(event.preventDefault){ 533 event.preventDefault(); 534 event.stopPropagation(); 535 } 536 if(__commonFunc__.isIOS && __commonFunc__.osVer>=9.3){ 537 __commonFunc__.addClassName(document.body,"blind_set"); 538 setTimeout(function(){ 539 __commonFunc__.addClassName(document.body,"blind_in"); 540 },0); 541 return; 542 } 543 } 544 } 545 546 cls=document.body.getAttribute("class"); 547 if(cls.indexOf("cst_iv_normal")==-1 && cls.indexOf("cst_iv_custom")==-1){ 548 __commonFunc__.addClassName(document.body,"cst_iv_normal"); 549 } else if(cls.indexOf("cst_iv_normal")!=-1){ 550 cls=cls.replace("cst_iv_normal","cst_iv_custom"); 551 document.body.setAttribute("class",cls); 552 } else if(cls.indexOf("cst_iv_custom")!=-1){ 553 cls=cls.replace("cst_iv_custom","cst_iv_normal"); 554 document.body.setAttribute("class",cls); 555 } 556 var __this__=this; 557 setTimeout(function(){__this__.classChangedProc();},0); 558 559 __sreaderFunc__.updateFitModeIcon(); 560}; 561 562TCustomFunc.prototype.showToast=function(msg,autoClose){ 563 var baseDiv=document.getElementById("content_base"); 564 var msgDiv = document.getElementById("toast_div"); 565 if(msgDiv===null){ 566 msgDiv=document.createElement("div"); 567 msgDiv.setAttribute("id","toast_div"); 568 msgDiv.style.visibility="hidden"; 569 msgDiv.style.display="none"; 570 baseDiv.appendChild(msgDiv) 571 } 572 573 var ac=true; 574 if(autoClose===false){ 575 ac=false; 576 } 577 __commonFunc__.setElementText(msgDiv,msg); 578 msgDiv.style.opacity=1; 579 msgDiv.style.visibility = "visible"; 580 msgDiv.style.display=""; 581 582 var ww=baseDiv.offsetWidth; 583 var wh=baseDiv.offsetHeight; 584/* 585 if(__commonFunc__.isAndroid && __commonFunc__.isChrome){ 586 ww=ww*__commonFunc__.getPixelRatio(); 587 wh=wh*__commonFunc__.getPixelRatio(); 588 } 589*/ 590 591 msgDiv.style.left=Math.floor(ww/2-msgDiv.offsetWidth/2)+"px"; 592 msgDiv.style.top=Math.floor(wh/2-msgDiv.offsetHeight/2)+"px"; 593 msgDiv=null; 594 595 msg=null; 596 autoClose=null; 597 delete msgDiv; 598 599 if(this.showToastHandle !== 0){ 600 clearTimeout(this.showToastHandle); 601 this.showToastHandle = 0; 602 } 603 604 var __this__=this; 605 setTimeout(function(){ 606 var msgDiv2=document.getElementById("toast_div"); 607 msgDiv2.style.zIndex=100; 608 if(__commonFunc__.isAndroid){ 609 msgDiv2.style.top=(msgDiv2.offsetTop-1)+"px"; 610 } 611 if(ac){ 612 __this__.showToastHandle=setTimeout(function(){__this__.hideToastInrterval();},2500); 613 } 614 msgDiv2=null; 615 delete msgDiv2; 616 },0); 617}; 618 619TCustomFunc.prototype.hideToastInrterval=function(){ 620 this.showToastHandle=0; 621 var msgDiv = document.getElementById("toast_div"); 622 var newOp=msgDiv.style.opacity; 623 624 if(newOp>0.6){ 625 newOp=0.6; 626 } else{ 627 newOp=newOp-0.3; 628 } 629 msgDiv.style.opacity=newOp; 630 msgDiv=null; 631 if(newOp<=0.3){ 632 this.hideToast(); 633 } else{ 634 var __this__=this; 635 this.showToastHandle=setTimeout(function(){__this__.hideToastInrterval()},100); 636 } 637 delete msgDiv; 638}; 639 640TCustomFunc.prototype.hideToast=function(){ 641 if(this.showToastHandle){ 642 clearTimeout(this.showToastHandle); 643 this.showToastHandle=0; 644 } 645 646 var msgDiv = document.getElementById("toast_div"); 647 msgDiv.style.visibility = "hidden"; 648 msgDiv.style.display="none"; 649 msgDiv=null; 650 651 delete msgDiv; 652};
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.