📄 style.js
字号:
' if ( document.all["mywindowTITLE"] ) { '+ '\n'+' document.all["mywindowTITLE"].style.backgroundColor = windowTITBGCOLOR '+ '\n'+' document.body.style.borderColor = windowBORDERCOLOR '+ '\n'+' parent.chromewinb.document.bgColor= windowBORDERCOLOR '+ '\n'+' parent.chromewinl.document.bgColor= windowBORDERCOLOR '+ '\n'+' parent.chromewinr.document.bgColor= windowBORDERCOLOR '+ '\n'+' } '+ '\n'+' '+ '\n'+' } '+ '\n'+' else if ( mywindowbt == "down" && wincloseSTATUS == "up") { '+ '\n'+' var m_scrx = mouse.screenx; '+ '\n'+' var m_scry = mouse.screeny; '+ '\n'+' opx = px + ofx - m_scrx; '+ '\n'+' opy = py + ofy - m_scry; '+ '\n'+' px = m_scrx - ofx; '+ '\n'+' py = m_scry - ofy; '+ '\n'+' top.window.moveTo(px , py); '+ '\n'+' } '+ '\n'+' setTimeout("initToMoveWin()",50); '+ '\n'+'} '+ '\n'+'</script> '+ '\n'+'</head> '+ '\n'+'<body TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scroll=no style="border: 1px solid '+ windowBORDERCOLOR +'; overflow: hidden; margin: 0pt;" bgcolor='+windowTITBGCOLOR+'> '+ '\n'+'<div id=mywindow><img src="'+windowNONEgrf+'" width=100% height=20></div> '+ '\n'+'<div id=mywindowTITLE>'+ '<table width=100% height=20 border=0 cellpadding=0 cellspacing=0><tr><td valign=middle align=left>'+windowTIT+'</td></tr></table>' +'</div> '+ '\n'+'<div id=mywindowCLOSE><img name=closewin src="'+ windowCERRARd +'" border=0 width=11 height=11></div> '+ '\n'+'<div id=mywindowCLOCK><img name=clockwin src="'+ windowCLOCK +'" border=0 width=11 height=11></div> '+ '\n'+'</body> '+ '\n'+'<script>initToMoveWin();</script> '+ '\n'+'</html> '+ '\n'var chromeFRMhtml = '' +'<HTML> '+ '\n'+'<HEAD> '+ '\n'+'<TITLE>'+ windowREALtit +'</TITLE> '+ '\n'+'</HEAD> '+ '\n'+'<script> '+ '\n'+'mainloaded = false '+ '\n'+'function generatetitle() { '+ '\n'+' if( window.frames["chromewint"] && window.frames["chromewinl"] && window.frames["chromewinb"] && window.frames["chromewinr"] ) { '+ '\n'+' chromewint.document.open(); '+ '\n'+' chromewint.document.write( "'+ quitasaltolinea(chromeTIThtml) +'" ); '+ '\n'+' chromewint.document.close(); '+ '\n'+' chromewinl.document.bgColor="'+ windowBORDERCOLOR +'" '+ '\n'+' chromewinb.document.bgColor="'+ windowBORDERCOLOR +'" '+ '\n'+' chromewinr.document.bgColor="'+ windowBORDERCOLOR +'" '+ '\n'+' } else { '+ '\n'+' setTimeout("generatetitle()",200) '+ '\n'+' } '+ '\n'+'} '+ '\n'+'generatetitle() '+ '\n'+'</script> '+ '\n'+'<frameset border=0 framespacing=0 frameborder=0 rows="22,100%,1" onload="mainloaded=true" onreadystatechange="generatetitle()"> '+ '\n'+' <frame name=chromewint src="about:blank" scrolling=no noresize> '+ '\n'+' <frameset border=0 framespacing=0 frameborder=0 cols="1,100%,1"> '+ '\n'+' <frame name=chromewinl src="about:blank" scrolling=no noresize> '+ '\n'+' <frame name=main src="'+theURL+'"> '+ '\n'+' <frame name=chromewinr src="about:blank" scrolling=no noresize> '+ '\n'+' </frameset> '+ '\n'+' <frame name=chromewinb src="about:blank" scrolling=no noresize> '+ '\n'+'</frameset> '+ '\n'+'</HTML> ' splashWin = window.open( "" , wname, "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0"+s); splashWin.resizeTo( Math.ceil( W ) , Math.ceil( H ) ); splashWin.moveTo ( Math.ceil( windowX ) , Math.ceil( windowY ) ); splashWin.document.open(); splashWin.document.write( chromeFRMhtml ); splashWin.document.close(); } else { var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1"+s, true); } splashWin.focus();} function quitasaltolinea(txt) { var salida = txt.toString() var re = /\\/g; var salida = salida.replace(re, "\\\\"); var re = /\//g; var salida = salida.replace(re, "\\\/"); var re = /\"/g; var salida = salida.replace(re, "\\\""); var re = /\'/g; var salida = salida.replace(re, "\\\'"); var re = /\n/g; var salida = salida.replace(re, "\\n"); var re = / /g; var salida = salida.replace(re, ""); var re = /\t/g; var salida = salida.replace(re, ""); var re = /\r/g; var salida = salida.replace(re, ""); return salida}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -