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

所属分类: 实用技巧 / 应用技巧 阅读数: 1746
收藏 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  

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

如何设置一个严格30分钟过期的Session示例介绍

SESSION和COOKIE是每个面试官必问的知识点,下面为大家介绍下如何设置一个严格30分钟过期的Session,具体示例如下,感兴趣的朋友可以参考下哈,希望对大家有所帮助
收藏 0 赞 0 分享

禁用Cookie三种方法(保护你的隐私)

cookie的作用很多人都知道——cookie里面保存着我们所浏览过的网页的记录,为了安全起见下面为大家介绍禁用Cookie的三种方法,感兴趣的朋友可以参考下哈
收藏 0 赞 0 分享

URL中井号的作用介绍

URL中的井号(#)是比较常见的,下面就为大家介绍一些有关井号的故事,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

访问Excel的几种方式介绍

本文将为大家介绍下访问Excel的几种方式:通过OLEDB方式、通过Microsoft.Office.Interop.Excel访问及其他相关等等,感兴趣的朋友可以参考下,希望对大家有所帮助
收藏 0 赞 0 分享

HttpClient抓取网页的两种方式

可以利用NodeFilter对网页进行分析及利用Visitor对网页进行分析实现抓取网页,具体如下感兴趣的朋友可以参考下,希望对大家有所帮助
收藏 0 赞 0 分享

EditPlus 3设置字体大小(附图)

EditPlus3是我们经常使用的编辑工具,至于如何设置字体大小的问题,有很多朋友在问,下面有个不错教程,大家可以感受下
收藏 0 赞 0 分享

GHOST删除分区和修复硬盘坏扇区不仅仅是备份还原

如果你只是用GHOST来备份和还原数据的话,那你可委屈了这款“功能强大”的软件了。其实GHOST还有一些比较另类的功能,接下来为大家介绍下GHOST删除分区和修复硬盘坏扇区
收藏 0 赞 0 分享

Cookie的使用之保存与获取代码示例

比较实用的设置Cookie和获取Cookie方法,下面的示例大家可以参考下,希望对大家有所帮助
收藏 0 赞 0 分享

sharepoint 2010版本图文安装教程

这篇文章主要为大家详细介绍了Microsoft Share Point2010中文版图文安装的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
收藏 0 赞 0 分享

Chrome开发者工具9个调试技巧详解

对于我们前端开发者来说,Chrome自带的开发者工具绝对是不可或缺的调试工具,我们常用的调试方法包含一些console等,而Chrome自带的开发者工具其实很强大,下面我们来聊聊一些你可能不知道的使用方法。
收藏 0 赞 0 分享
查看更多