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

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

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

Win XP系统语言栏丢失解决三例

案例一:   问:一台计算机使用Windows XP操作系统,最近任务栏内无法显示语言栏,我通过“区域和语言选项”里的设置找回了语言栏,重新启动计算机后,问题依旧,请问是什么问题造成的?
收藏 0 赞 0 分享

设计软件中的系统字体应用小技巧

大家都知道,在操作系统的安装目录下有字体库,要使用种字体首先需要安装,但是这会造成字体占用系统盘空间过多。设计使用的字体都不少,怎么说也有几个G,很占资源,下面教大家一个稍微节省资源的方法。
收藏 0 赞 0 分享

Access中字段上自动打开的输入法的解决方法

打开Access数据库时,在里面数据表字段输入数值时,总是会跳出输入法来,很是烦人,在网上找了一下,找到了相应的解决办法:
收藏 0 赞 0 分享

“internet explore 无法打开internet站点 已终止操作”的解决方法

在IE下,当页面还没有加载完全时,如果正在执行的JS代码中含有使用了document.createElement的话,很容易引起页面加载失败.导致提示"internet explore 无法打开internet站点 http://www.xxx.com/xxx/xxx.
收藏 0 赞 0 分享

十个习惯让你精通新的开发技术

这篇文章,是从我的《高效开发人员的五个特征》一文中抽出的一个观点。从我自身的事业和习惯中,我考虑了很多方式怎么样才能有效地学习。
收藏 0 赞 0 分享

小谈RADMIN爆破

最近做渗透测试时常碰到RADMIN一类的东西.. 一碰到此类的程序,一般我都会先看下对方把RADMIN的端口配置成什么..以及相应的PASS(加密过的)
收藏 0 赞 0 分享

动易2006序列号破解算法公布

动易2007就快发布了,把2006的算法公开吧,赚点人气,希望动易不要来找我 。
收藏 0 赞 0 分享

联众密码的逆向算法公布

闲来无事,每天上联众,联众的密码经过加密后保存在本地注册表里,看看是怎么加密的。下了个ollydbg,一路跟踪,发现算法极其简单,给出Delphi版本的解密算法(加密部分有兴趣的一起来讨论)。算法比较粗糟,谁帮优化一下:)
收藏 0 赞 0 分享

关于三种主流WEB架构的思考

做WEB好几年了,各种语言和技术都稍有涉猎。今天心血来潮,突然想总结一下。其实不论什么技术,什么需求,通常WEB开发就是通过WEB前端管理一个或大或小或独立或分布式的关系型数据库,很多东西都是相通的。这里说的WEB架构,是指WEB应用开发中每种技术独有的资源组织形式(包括文件,数
收藏 0 赞 0 分享

一篇关于程序员性格的文章第1/3页

软件开发中人们很少注意个人性格问题。自从 1965年Edsger Dijkstra的有里程碑意义的文章“程序开发是一种人类活动”发表以来,程序员性格被认为是合理的和有成效的研究领域,虽然有些题目如“大桥建筑者的心理”和“对律师行为的研究实验”看起来可能是荒唐的,而在计算机领域,“
收藏 0 赞 0 分享
查看更多