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

📄 clean.aspx

📁 1.把"Web"文件夹内的文件拷贝到某个文件夹 2.在IIS中新建站点
💻 ASPX
字号:
<%@ Page Language="C#" ResponseEncoding="Unicode" Inherits="CuteEditor.EditorUtilityPage" %>
<HTML>
	<head runat=server>
		<title>[[CleanCode]] 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</title>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<meta name="content-type" content="text/html ;charset=Unicode">
		<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)">
		<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.1)">
		<link rel="stylesheet" href='style.css'>
		<script src=dialog.js></script><script src=../_shared.js></script>
		<script language="javascript">
			var OxOdee5=["dialogArguments","ig","\x3C/?[^\x3E]*\x3E","","\x3C\x5C?xml[^\x3E]*\x3E","\x3C/?[a-z]+:[^\x3E]*\x3E","(\x3C[^\x3E]+) class=[^ |^\x3E]*([^\x3E]*\x3E)","$1 $2","(\x3C[^\x3E]+) style=\x22[^\x22]*\x22([^\x3E]*\x3E)","\x3Cspan[^\x3E]*\x3E\x3C/span[^\x3E]*\x3E","\x3Cspan\x3E\x3Cspan\x3E","\x3Cspan\x3E","\x3C/span\x3E\x3C/span\x3E","\x3C/span\x3E","[ ]*\x3E","\x3E","\x3C/?font[^\x3E]*\x3E","\x3C/?span[^\x3E]*\x3E","span","font","css","word","allhtml"];var editor=top[OxOdee5[0x0]]; function execRE(Ox181,Ox45a,Ox45b){ oReg= new RegExp(Ox181,OxOdee5[0x1]) ; r=Ox45b.replace(oReg,Ox45a) ;return r;}  ; function getContent(){return editor.getHTML();}  ; function setContent(Ox45b){ editor.setHTML(Ox45b) ;}  ; function codeCleaner(Ox2ca){var Ox45b=getContent();switch(Ox2ca){case OxOdee5[0x16]: Ox45b=execRE(OxOdee5[0x2],OxOdee5[0x3],Ox45b) ;break ;case OxOdee5[0x15]: Ox45b=execRE(OxOdee5[0x4],OxOdee5[0x3],Ox45b) ; Ox45b=execRE(OxOdee5[0x5],OxOdee5[0x3],Ox45b) ; Ox45b=execRE(OxOdee5[0x6],OxOdee5[0x7],Ox45b) ; Ox45b=execRE(OxOdee5[0x8],OxOdee5[0x7],Ox45b) ; Ox45b=execRE(OxOdee5[0x9],OxOdee5[0x3],Ox45b) ; Ox45b=execRE(OxOdee5[0xa],OxOdee5[0xb],Ox45b) ; Ox45b=execRE(OxOdee5[0xc],OxOdee5[0xd],Ox45b) ; Ox45b=execRE(OxOdee5[0xe],OxOdee5[0xf],Ox45b) ;break ;case OxOdee5[0x14]: Ox45b=execRE(OxOdee5[0x6],OxOdee5[0x7],Ox45b) ; Ox45b=execRE(OxOdee5[0x8],OxOdee5[0x7],Ox45b) ;break ;case OxOdee5[0x13]: Ox45b=execRE(OxOdee5[0x10],OxOdee5[0x3],Ox45b) ;break ;case OxOdee5[0x12]: Ox45b=execRE(OxOdee5[0x11],OxOdee5[0x3],Ox45b) ;break ;;;;;;} ; setContent(Ox45b) ;}  ;
		</script>
		<style type=text/css>
			.codebutton
			{
				width:200px; 
				height:30px; 
				TEXT-ALIGN: left; 
				font:normal 9pt MS Sans Serif;
			    padding: 1px 3px 1px 3px;
				color: #000;		
				BACKGROUND-COLOR: #d7d3cc;
				BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; BORDER-LEFT: buttonhighlight 1px solid; BORDER-BOTTOM: buttonshadow 1px solid; VERTICAL-ALIGN: middle;
			}
		</style>

	</HEAD>
	<body>
			<fieldset title="Code Sweeper" style="padding:5px 5px 10px 5px;">
				<legend>[[CleanCode]]</legend>
				<table border="0" cellspacing="0" cellpadding="5" width="100%"  class="normal" align="center">
					<tr><td><button class="codebutton" onClick="codeCleaner('allhtml');"><IMG src="../Images/code.gif" align="absMiddle" border="0"/> Remove all HTML tags </button> <br/></td></tr>
					<tr><td><button class="codebutton" onClick="codeCleaner('word');"><IMG src="../Images/doc.gif" align="absMiddle" border="0"/> Remove all word specific markup </button> <br/></td></tr>
					<tr><td><button class="codebutton" onClick="codeCleaner('css');"><IMG src="../Images/style.font.gif" align="absMiddle" border="0"/> Clean up cascading style sheets </button> <br/></td></tr>
					<tr><td><button class="codebutton" onClick="codeCleaner('font');"><IMG src="../Images/fontend.gif" align="absMiddle" border="0"/> Clean up &lt;Font&gt; tags </button> <br/></td></tr>
					<tr><td><button class="codebutton" onClick="codeCleaner('span');"><IMG src="../Images/spanend.gif" align="absMiddle" border="0"/> Clean up &lt;Span&gt; Tags </button> <br/></td></tr>
				</table>				
			</fieldset>
		<div style="margin-top:8px;width:60%; text-align:center">
			<input class="inputbuttoncancel" type="button" value="[[Cancel]]" style="width:80px" onClick="window.close();">
		</div>
</body>
</HTML>

⌨️ 快捷键说明

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