[" + toFormatedDateString(new Date()) + "]\r\n既読ポイントの捜索を開始します\r\n(" + BTN_TXT_BTNL + "," + BTN_TXT_BTNM + "," + BTN_TXT_BTNR + "や右のボタンで中断) | ";
msg += " "; msg += " |
[" + toFormatedDateString(new Date()) + "]\r\n先頭に戻ると既読マークします | ";
msg += " "; msg += " |
[" + toFormatedDateString(new Date()) + "]\r\n新着のDMがあります | ";
msg += " "; msg += " |
[ " + label + " ] ボタン機能割付 | ||
"
msg += "
|
" + dispMsg + " | ";
if( btn1Text != "" && btn1Text !== null && btn1Text !== undefined ){
msg += " "; } if( btn2Text != "" && btn2Text !== null && btn2Text !== undefined ){ msg += " "; } if( btn3Text != "" && btn3Text !== null && btn3Text !== undefined ){ msg += " "; } msg += " |
";
HTML += CRLF + "
"; HTML += CRLF + "
|
";
HTML += CRLF + "
|
";
HTML += CRLF + "
|
";
msg += "
| ||||||||||||
|
[" + debugTextArray[i][TIME] + "] | " + debugTextArray[i][TEXT] + " | " ; }else{ tmp += "
" + debugTextArray[i][TEXT] + " |
" + txt + "", true); } //デバッグ表示と蓄積レコードを破棄 function clearDebugText(){ if( ! DEBUG_MODE ) return; debugTextArray = []; dispDebugText(); } //デバッグウィンドウを閉じる function closeDebugWindow(){ if( ! DEBUG_MODE ) return; if( gelm_debugDialog !== null ) closePopupMessage(gelm_debugDialog); gelm_debugDialog = null; } //デバッグウィンドウ処理メイン function debugFunction(){ if( ! DEBUG_MODE ) return; var msg = ""; dispDebugWindow(); dispDebugText(msg); } /************************************************************ メイン処理 ************************************************************/ function startMain(){ //初期処理の完了待ち if( gi_initComplete == 0 ){ window.setTimeout(startMain, gi_shortIntervalMs); //console.log("★startMain : WaitFor initComplete"); dispDebugTextWithTime("startMain : Wait for initComplete"); return; } //短周期処理開始 gtmr_shortTimer = window.setInterval(replaceElements, gi_shortIntervalMs); gstr_lastShortStart = new Date(); //console.log("★gtmr_shortTimer: START[FIRST]"); //更新処理開始 window.setInterval(updateTimeline, gi_timerIntervalMs); //デバッグトレース用のウィンドウを表示 if( DEBUG_MODE ) window.setTimeout( debugFunction, 10 ); dispDebugTextWithTime("startMain : Start Timer"); } (function() { //強制リロードまでの時間管理のため起動した時間を記録 saveSetting(FORCEUPDATE_HEADER, KEY_SYSTEM, ( toFormatedDateString(gdt_lastDomTime)) ); //システム設定の読み込み loadSystemSettings(); //背景色テーブルの初期化 setupBgColorTables(); //初期処理の遅延実行 window.setTimeout(clearElements, gi_initWaitMs); window.setTimeout(startMain, gi_initWaitMs + 100); console.log("START PseudoTwDk: Setting="); console.dir(gobj_localData); })();