📄 notice.js
字号:
//扑诀沥焊甫 持绢滴绰 镑涝聪促.// 荤捞飘 货肺坷锹扁崇扑诀function kepco_newopen(){ SimpleCenterWindow('pop_0214.html', '_newopen', 480,342,0,0);}// 矫胶袍 吝瘤舅覆function openStopPopup(){ if ( parseInt(SetToday()) < 161600) { SimpleCenterWindow('kepco_main/popup/welfare_discount/system_out.html', '_stop', 420,358,0,480); } }//坷疵窍风 芒摧扁 利侩function notice_getCookie( name ){ var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return "";}//困摹棱扁function SimpleCenterWindow(url,name,width,height,top,left){ if (top == null ) top = (screen.height - height) / 2; if (left == null) left = (screen.width - width) / 2; var centerWindow = window.open(url, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+width+',height='+height+',top='+top+',left='+left); centerWindow.focus();}//荤捞飘 货肺坷锹扁崇扑诀//if ( notice_getCookie( "newopen" ) != "done" ) {// setTimeout("kepco_newopen()",1000);//}//朝楼 利侩function SetToday() { var theyear = ''; var themonth = ''; var theday = ''; var mydate=new Date(); themonth=mydate.getMonth()+1; if (themonth<10) themonth="0"+themonth; theday=mydate.getDate(); if (theday<10) theday="0"+theday; theHour = mydate.getHours(); if( theHour < 10 ) theHour = "0" + theHour; theMin = mydate.getMinutes(); if( theMin < 10 ) theMin = "0" + theMin; return new String(theday) + new String(theHour) + new String(theMin);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -