Edit It! <!--Scott编写的代码,也是我们最先接触的工具-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
EditBox.setToolbar("tbmode",true);
EditBox.setToolbar("tbfontstyle",true);
EditBox.setToolbar("tbfontsize",true);
EditBox.setToolbar("tbcut",true);
EditBox.setToolbar("tbcopy",true);
EditBox.setToolbar("tbpaste",true);
EditBox.setToolbar("tbbar1",true);
EditBox.setToolbar("tbbar2",true);
void(document.all.rtebox.style.height="400");
void(document.all.EditBox.style.height="400");
}
<!--code end-->
China As <!--原创者无从考究,之后与Edit It!双剑合壁,Space任我遨游-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
EditBox.setToolbar("tbmode",true);
EditBox.setToolbar("tbimage",true);
EditBox.setToolbar("tbformatblock",true);
EditBox.setToolbar("tbtable",true);
EditBox.setToolbar("tbbgcolor",true);
EditBox.setToolbar("tbline",true);
void(document.all.rtebox.style.height="400");
void(document.all.EditBox.style.height="400");
}
<!--code end-->
Edit It Plus-Show <!--Sanall Cobain编写的代码,Edit It!的绝杀-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
var aIds = new Array('fontsize','fontstyle','cut','copy','paste','bar1','bar2','image','formatblock','table','bgcolor','line','mode');
for(var i = 0; i<aIds.length;i++)
{
EditBox.setToolbar('tb'+aIds[i],true);
}
void(document.all.rtebox.style.height='400');
void(document.all.EditBox.style.height='400');
}
<!--code end-->
Edit It Plus-Hide <!--Sanall Cobain编写的Edit It plus-Show的反向操作-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
var aIds =new Array('fontsize','fontstyle','cut','copy','paste','bar1','bar2','image','formatblock','table','bgcolor','line','mode');
for(var i = 0; i<aIds.length;i++)
{
EditBox.setToolbar('tb'+aIds[i],false);
}
void(document.all.rtebox.style.height='400');
void(document.all.EditBox.style.height='400');
}
<!--code end-->
Background Music Adder <!--Sanall Cobain编写的背景音乐添加器,无需手动,只需行动-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
var url = prompt('Sanall Cobain Prompts you to enter your music file URL below','your music file URL location');
if( url != null )
{
void(EditBox.cbMode.checked=true);
EditBox.setMode(false);
EditBox.insertHTML('<img width=0 height=0 loop=infinite dynsrc='+url+'>');
}
}
<!--code end-->
Image Adder <!--Sanall Cobain编写的图片添加器-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
var url = prompt('Sanall Cobain Prompts you to enter your image file URL below','your image file URL location');
if( url != null )
{
EditBox.insertHTML('<img src=\''+ url +'\'>');
}
}
<!--code end-->
Enable Blank Title <!--Sanall Cobain编写,生成无标题日志-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
void(document.all.btn2.disabled=false);
void(document.all.btn1.disabled=false);
}
<!--code end-->
Jump It! <!--Sanall Cobain编写,具体用途保密。可帮了我一个大忙-->
<!--code start-->
(function(){var b="_blogpart",a="http://spaces.msn.com/members/",l=window.location.href;/*by noroom*/if(l.match(a)){window.location=a+l.replace(/.+mbers\/([^\/]+).*/,"$1")+((l.match(/blog\//i))?"/PersonalSpace.aspx?_c11"+b+"_handle="+l.replace(/.+blog\/([a-z0-9!_-]+)\.entry.*/i,"$1")+"&_c11"+b+b+"=blogentry&_c11"+b+"_frompart=myspace&_c=BlogPart&_c02_owner=1":"/Blog/"+l.replace(/.+handle=([^&]+).*/i,"$1")+".entry")}})()
<!--code end-->
Create Signature <!--Sanall编写的个性签名生成器-->
<!--code start-->
if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
{
EditBox.appendHTML("<P align='right'><FONT face='Comic Sans MS' color='#00ff00'><EM><SUB>Sanall Cobain posted on "+(new Date()).toString()+"</SUB></EM></FONT></P>");
}
<!--code end-->