1、window.external...
INPUTonclick='window.external.ImportExportFavorites(true,"http://localhost");'type=buttonvalue=导入收藏夹INPUTonclick='window.external.ImportExportFavorites(false,"http://localhost");'type=buttonvalue=导出收藏夹INPUTonclick="window.external.ShowBrowserUI('OrganizeFavorites',null)"type=buttonvalue=整理收藏夹INPUTonclick="window.external.ShowBrowserUI('LanguageDialog',null)"type=buttonvalue=语言设置INPUTonclick="window.external.AddFavorite('http://blog.csdn.net/Opossum/','学习,讨论')"type=buttonvalue=加入收藏夹INPUTonclick="window.external.addChannel('http://blog.csdn.net/Opossum/')"type=buttonvalue=加入到频道
相关:
INPUTonclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://blog.csdn.net/Opossum/')"type=buttonvalue=设成主页
2、history...
INPUTonclick=history.go(1)type=buttonvalue=前进INPUTonclick=history.go(-1)type=buttonvalue=后退INPUTonclick=history.forward()type=buttonvalue=前进INPUTonclick=history.back()type=buttonvalue=后退(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/webkaifa/)
3、document.execCommand...
INPUTonclick="document.execCommand('Cut')"type=buttonvalue=剪切INPUTonclick="document.execCommand('Copy')"type=buttonvalue=拷贝INPUTonclick="document.execCommand('Paste')"type=buttonvalue=粘贴INPUTonclick="document.execCommand('Undo')"type=buttonvalue=撤消INPUTonclick="document.execCommand('Delete')"type=buttonvalue=删除INPUTonclick="document.execCommand('Bold')"type=buttonvalue=黑体INPUTonclick="document.execCommand('Italic')"type=buttonvalue=斜体INPUTonclick="document.execCommand('Underline')"type=buttonvalue=下划线INPUTonclick="document.execCommand('stop')"type=buttonvalue=停止INPUTonclick="document.execCommand('SaveAs')"type=buttonvalue=保存INPUTonclick="document.execCommand('Saveas',false,'c: est.htm')"type=buttonvalue=另存为INPUTonclick="document.execCommand('FontName',false,fn)"type=buttonvalue=字体INPUTonclick="document.execCommand('FontSize',false,fs)"type=buttonvalue=字体大小INPUTonclick="document.execCommand('refresh',false,0)"type=buttonvalue=刷新
4、window.location...
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/webkaifa/)INPUTonclick=window.location.reload()type=buttonvalue=刷新name=refreshINPUTonclick='window.location="view-source:"+window.location.href'type=buttonvalue=查看源文件name=Button7
5、WebBrowser.ExecWB...
OBJECTclassid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2height=0id=WebBrowserwidth=0/OBJECTbr/inputname=ButtononClick=document.all.WebBrowser.ExecWB(2,1)type=buttonvalue=关闭所有br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(4,1)type=buttonvalue=另存为br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(6,1)type=buttonvalue=打印br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(6,6)type=buttonvalue=直接打印br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(7,1)type=buttonvalue=打印预览br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(8,1)type=buttonvalue=页面设置br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(10,1)type=buttonvalue=属性br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(17,1)type=buttonvalue=全选br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(22,1)type=buttonvalue=刷新br/inputname=ButtononClick=document.all.WebBrowser.ExecWB(45,1)type=buttonvalue=关闭 OBJECTclassid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2height=0id=WebBrowserwidth=0/OBJECT
是在页面内载入该控件,以便调用该控件的方法,这个classid在系统注册表里是唯一的,如果改了,就可能是别的控件或者是不存在的控件的id了,所以不可以更改