IE6与IE7 浏览器可实现功能汇总

所属分类: 实用技巧 / 应用技巧 阅读数: 1675
收藏 0 赞 0 分享

<object id="WebBrowser" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object> 
<input onclick="document.all.WebBrowser.ExecWB(1,1)" type="button" name="Button1" value="打开" />  
<input onclick="document.all.WebBrowser.ExecWB(4,1)" type="button" name="Button2" value="另存为" />  
<input onclick="document.all.WebBrowser.ExecWB(10,1)" type="button" name="Button3" value="属性" />  
<input onclick="document.all.WebBrowser.ExecWB(6,1)" type="button" name="Button" value="打印" />  
<input onclick="document.all.WebBrowser.ExecWB(8,1)" type="button" name="Button4" value="页面设置" />  
<input onclick="window.location.reload()" type="button" name="refresh" value="刷新" />  
<input onclick="window.external.ImportExportFavorites(true,'');" type="button" name="Button5" value="导入收藏夹" />  
<input onclick="window.external.ImportExportFavorites(false,'');" type="button" name="Button32" value="导出收藏夹" />  
<input onclick="window.external.AddFavorite(location.href, document.title)" type="button" name="Button22" value="加入收藏夹" />  
<input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type="button" name="Submit2" value="整理收藏夹" />  
<input onclick="window.location=view-source: + window.location.href" type="button" name="Button7" value="查看源文件" />  
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type="button" name="Button6" value="语言设置" />  
<input onclick="document.execCommand('Cut')" type="button" value="剪切" />  
<input onclick="document.execCommand('Copy')" type="button" value="拷贝" />  
<input onclick="document.execCommand('Paste')" type="button" value="粘贴" />  
<input onclick="document.execCommand('Undo')" type="button" value="撤消" />  
<input onclick="document.execCommand('Delete')" type="button" value="删除" />  
<input onclick="document.execCommand('Bold')" type="button" value="黑体" />  
<input onclick="document.execCommand('Italic')" type="button" value="斜体" />  
<input onclick="document.execCommand('Underline')" type="button" value="下划线" />  
<input onclick="document.execCommand('stop')" type="button" value="停止" />  
<input onclick="document.execCommand('SaveAs')" type="button" value="保存" />  
<input onclick="document.execCommand('Saveas',false,'c:\\test.htm')" type="button" value="另存为" />  
<input onclick="document.execCommand('FontName',false,fn)" type="button" value="字体" />  
<input onclick="document.execCommand('FontSize',false,fs)" type="button" value="字体大小" />  
<input onclick="document.execCommand('refresh',false,0)" type="button" value="刷新" />  
<input onclick="window.location.reload()" type="button" value="刷新" />  
<input onclick="history.go(1)" type="button" value="前进" />  
<input onclick="history.go(-1)" type="button" value="后退" />  
<input onclick="history.forward()" type="button" value="前进" />  
<input onclick="history.back()" type="button" value="后退" />  
<input onclick="window.external.ImportExportFavorites(true,https://www.jb51.net);" type="button" value="导入收藏夹" />  
<input onclick="window.external.ImportExportFavorites(false,https://www.jb51.net);" type="button" value="导出收藏夹" />  
<input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type="button" value="整理收藏夹" />  
<input onclick="window.location = 'view-source:'+ window.location.href" type="button" value="查看源文件" />  
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type="button" value="语言设置" />  
<input onclick="window.external.AddFavorite('https://www.jb51.net', 脚本之家)" type="button" value="加入收藏夹" />  
<input onclick="window.external.addChannel('https://www.jb51.net')" type="button" value="加入到频道" />  
<input onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('https://www.jb51.net')" type="button" value="设成主页" /> 
IE7就更强了,快捷键都N多了。
Keyboard shortcuts Open links in a new tab in the background  CTRL+click  
Open links in a new tab in the foreground  CTRL+SHIFT+click  
Open a new tab in the foreground  CTRL+T  
Open a new tab from the Address bar  ALT+ENTER  
Open a new tab from the search box  ALT+ENTER  
Open Quick Tabs (thumbnail view)  CTRL+Q  
Switch between tabs  CTRL+TAB/CTRL+SHIFT+TAB  
Switch to a specific tab number  CTRL+n (n can be 1-8)  
Switch to the last tab  CTRL+9  
Close current tab  CTRL+W  
Close all tabs  ALT+F4  
Close other tabs  CTRL+ALT+F4  

Mouse shortcuts Open a link in a background tab  Click the middle mouse button on a link  
Open a new tab  Double-click the empty space to the right of the last tab  
Close a tab  Click the middle mouse button on the tab  

更多精彩内容其他人还在看

遇到删不掉的文件的处理分析

大家是否有这样的经历:在删除某个文件时,系统会给出各种各样的提示,反正就是死活不让删。
收藏 0 赞 0 分享

比较详细的WinXP故障恢复控制台完全手册第1/2页

Windows 故障恢复控制台的功能是帮助基于 Windows 的计算机在未正确启动或根本无法启动时进行恢复操作。
收藏 0 赞 0 分享

vmt的修改之正则(桂军)

原来的vmt在(ssi)的时候有问题,今天看了一下代码发到群中
收藏 0 赞 0 分享

Windowns Diskpart下合并分区的方法dos下

非常不错的合并分区的方法,经测试,好用,就是对于稳定性就不知道了,理论下应该没什么问题,对于个人电脑合并分区和服务器分区合并来说,无疑是一个非常好的办法
收藏 0 赞 0 分享

合并分区之利用软件篇

一般分区合并工具一般就比较常见的两个Acronis Disk Director Suite和pQmagic但,这两个需要在电脑旁边,而服务器我推荐看上一篇文章
收藏 0 赞 0 分享

IE浏览器打不开PNG格式图片的解决

具体症状是:以IE为核心的浏览器包括ie都打不开png格式的网页图片,如果以纯链接打开网络png图片则提示下载或无法打开。
收藏 0 赞 0 分享

在电脑城混了三年了装机心得

在电脑城混了三年了,写一下对装机的心得。
收藏 0 赞 0 分享

Win2003的服务器修改默认上传200k和下载4M的限制

Win2003的服务器修改默认上传200k和下载4M的限制
收藏 0 赞 0 分享

几步轻松解决打不开IE链接

几步轻松解决打不开IE链接
收藏 0 赞 0 分享

分区软件PartitionMagic的使用方法(images)及注意事项

分区软件PartitionMagic的使用方法(images)及注意事项
收藏 0 赞 0 分享
查看更多