|
| |
精品推荐 |
 |
|
| |
|
|
|
|
网页屏蔽(左右键,代码等)的非JS方法
|
日期:2006年11月15日 作者: 查看:[大字体
中字体 小字体]
|
{ document.pad.text.value=''; compilation=escape(code); document.pad.text.value="/〈script〉\n〈!--\ndocument.write(unescape(\""+compilation+"\"));\n//--〉\n〈\/script〉"; i++; if (i=1) alert("Page compiled 1 time!"); else 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=700, height=320,left=50,top=110"); 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〉 〈BR〉〈B〉〈FONT color=#333333〉网页HTML源代码加密解密器〈/FONT〉〈/B〉〈/H2〉〈/DIV〉 〈TABLE cellSpacing=0 borderColorDark=#000000 cellPadding=10 width=750 align=center borderColorLight=#ffffff border=2〉 〈TBODY〉 〈TR〉 〈TD〉 〈DIV align=center〉〈BR〉将你的源代码贴到编辑区域即可〈BR〉〈BR〉 〈TABLE cellSpacing=0 cellPadding=0 width="100%" border=0〉 〈TBODY〉 〈TR〉 〈TD width="100%"〉〈!-- Compilation Panel --〉 〈FORM name=pad method=post align="center"〉 〈DIV align=center〉〈TEXTAREA style="WIDTH: 95%; BACKGROUND-COLOR: #ebebeb" name=text rows=11 cols=58〉〈/TEXTAREA〉 〈BR〉〈BR〉〈BR〉〈INPUT onmouseover=LightOn(this) onclick=generate() onmouseout=LightOut(this) type=button value=加密 name=compileIt〉 〈INPUT onmouseover=LightOn(this) onclick=selectCode() onmouseout=LightOut(this) type=button value=全选 name=select〉 〈INPUT onmouseover=LightOn(this) onclick=preview() onmouseout=LightOut(this) type=button value=预览 name=view〉 〈INPUT onmouseover=LightOn(this) onclick=uncompile() onmouseout=LightOut(this) type=button value=解密 name=retur〉 〈INPUT onmouseover=LightOn(this) onmouseout=LightOut(this) type=reset value=清除 name=clear〉 〈/DIV〉〈/FORM〉〈!-- Compilation Panel --〉〈/TD〉〈/TR〉〈/TBODY〉〈/TABLE〉〈/DIV〉〈/TD〉〈/TR〉〈/TBODY〉〈/TABLE〉 〈DIV align=center〉〈BR〉〈/DIV〉 〈DIV align=center〉〈/DIV〉 〈/TD〉〈/TR〉〈/TBODY〉〈/TABLE〉 〈/DIV〉 〈DIV〉〈/DIV〉〈/BODY〉〈/HTML〉
上一篇:应用lucene.net进行搜索测试
下一篇:在sqlserver2005中安装sql server 2000的示例数据库northwind
|
| 网页屏蔽(左右键,代码等)的非JS方法 相关文章: |
|
|
|
| 网页屏蔽(左右键,代码等)的非JS方法 相关软件: |
|
|
|
|