JS操作IE浏览器

<input   name=Button   onClick=document.all.WebBrowser.ExecWB(1,1)   type=button   value=打开>  
<OBJECT   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   id=WebBrowser   width=0> </OBJECT>  
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(4,1)   type=button   value=另存为>  
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(17,1)   type=button   value=全选>
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(10,1)   type=button   value=属性>
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(6,1)   type=button   value=打印>
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(6,6)   type=button   value=直接打印>
<input   name=Button   onClick=document.all.WebBrowser.ExecWB(8,1)   type=button   value=页面设置>
<input   type=button   value=刷新   name=refresh   onclick= "window.location.reload() ">  
<input   type= "button "   name= "Button "   value=导入收藏夹   onClick=window.external.ImportExportFavorites(true, "http://localhost ");>  
<input   type= "button "   name= "Button3 "   value=导出收藏夹   onClick=window.external.ImportExportFavorites(false, "http://localhost ");>  
<input   name=Button2   onclick= "window.external.AddFavorite(location.href,   document.title) "   type=button   value=加入收藏夹>  
<input   name=Submit2   onclick= "window.external.ShowBrowserUI( 'OrganizeFavorites ',   null) "   type=button   value=整理收藏夹>  
<input   type=button   value=查看源文件     onclick= "window.location   =   'view-source: '+   window.location.href ">
<input   type=button   value=语言设置   onclick= "window.external.ShowBrowserUI( 'LanguageDialog ',   null) ">  
<input   type=button   value=前进   onclick=history.go(1)>
<input   type=button   value=前进   onclick=history.forward()>    
<input   type=button   value=后退   onclick=history.go(-1)>
<input   type=button   value=后退   onclick=history.back()>

你可能感兴趣的:(浏览器)