⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 调试源文件.htm

📁 javascript编程的组件
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0045)http://fason.nease.net/code/js/other/view.htm -->
<HTML><HEAD><TITLE>调试源文件</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE>INPUT {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 10pt; BORDER-LEFT: #000000 1px solid; COLOR: #000080; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: verdana
}
BODY {
	FONT-SIZE: 9pt; COLOR: #000000; FONT-FAMILY: tahoma
}
TEXTAREA {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 9pt; BORDER-LEFT: #000000 1px solid; COLOR: blue; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: tahoma
}
</STYLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#f3f2f1 leftMargin=0 onload=tp() marginwidth="0">
<SCRIPT language=JavaScript>  var i=0;  var ie=(document.all)?1:0;  var ns=(document.layers)?1:0;  function generate() /* Generation of "Compilation" */  	{  		code = document.pad.text.value;  		if (code)  			{  				document.pad.text.value='Compiling...Please wait!';  				setTimeout("compile()",500);  			}  		else alert('First enter something to compile and then press CompileIt')  	}  function compile() /* The "Compilation" */  	{  		document.pad.text.value='';  		compilation=escape(code);  		document.pad.text.value="<script>\n<!--\ndocument.write(unescape(\""+compilation+"\"));\n//-->\n<\/script>";  		i++;  		alert("Page compiled "+i+" times!");  	}  function selectCode() /* Selecting "Compilation" for Copying */  	{  		if(document.pad.text.value.length>0)  			{  				document.pad.text.focus();  				document.pad.text.select();  			}  		else alert('Nothing for be selected!')  	}  function preview() /* Preview for the "Compilation" */  	{  		if(document.pad.text.value.length>0)  			{  				pr=window.open("","Preview","scrollbars=1,menubar=1,status=1,width=480 height=320,left=10,top=10");  				pr.document.write(document.pad.text.value);  			}  		else alert('Nothing for be previewed!')  	}  function uncompile() /* Decompiling a "Compilation" */  	{  		if (document.pad.text.value.length>0)  			{  				source=unescape(document.pad.text.value);  				document.pad.text.value=""+source+"";  			}  		else alert('You need compiled code to uncompile it!')  	}  // -->  </SCRIPT>

<SCRIPT>function tp(){pad.text.focus()document.execCommand("Paste")}function savetxt() {var newwin=window.open('about:blank','','top=10000');newwin.document.write(document.pad.text.value);newwin.document.execCommand('saveas','','c_d.htm')newwin.window.close();}</SCRIPT>

<FORM name=pad method=post align="center">
<P align=center><TEXTAREA style="COLOR: #ffffff; BACKGROUND-COLOR: #336699" name=text rows=22 cols=120></TEXTAREA><BR>
<P align=center><INPUT onclick=tp() type=button value=粘贴 name=select> <INPUT onclick=selectCode() type=button value=选定 name=select> <INPUT accessKey=w onclick=preview() type=button value=预览(w) name=view> <INPUT onclick=generate() type=button value=加密 name=compileIt> <INPUT onclick=uncompile() type=button value=解密 name=retur> <INPUT accessKey=s onclick=savetxt() type=button value=保存(s) name=retur> <INPUT type=reset value=清除 name=clear></FORM>
<P align=right><A style="TEXT-DECORATION: none" 
href="http://fason.nease.net/">【阿信的小天地】</A></P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -