`
jefferson
  • 浏览: 277939 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

The Difference of IE7 and IE6

阅读更多

Today , I study the official document and blog of IE7,find some issue,Javascript issue:

 

    1 window.opener and window.close--Internet Explorer 7 no longer allows the window.opener trick to  bypass the window.close prompt. Browser windows cannot close themselves unless the windows were created in script. This security enhancement no longer allows browsing to a random site when the main browser window closes unexpectedly.

 


    2  Security Settings for Script Access to the Clipboard--New security-related updates for Microsoft Internet Explorer 7 include a change in the default security settings for Script Access to the clipboard. Sites using scripts to access the clipboard in the Internet and Trusted sites zones will receive a prompt that will inform the user that their clipboard is being accessed by script. The prompt will require user permission to continue. Giving permission will allow the website to save   information to the clipboard, and read any existing information from the clipboard. This security setting is designed to help prevent the possibility of information disclosure through script access  to the clipboard.


    css issue:

 

       The issues of css are sundry and hard to be classified : click this link for detail:

 

    http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx

  Applet:
          IE7 allows the applet running by default.        
 
  Dhtml:
        According to the official documents, IE7 disables Dynamic HTML (DHTML) scriptlets by default They can be re-enabled by system administrators by changing the advanced settings in the Internet Control Panel.  And the javascript runtime library of IE7 extends from that of IE6.So if the js code can run on IE6, it also works on IE7.
 
 
  ActiveX:
       The release note of IE7  descript” The IE 7 ActiveX Opt-In feature is disabled by default. When the user visits a webpage that is trying to use a disabled ActiveX control, they see an Information bar to enable the control” .
 

 

 
分享到:
评论
2 楼 jefferson 2007-01-26  
the following is copy by
http://www.howtocreate.co.uk/ie7.html
Details of the changes
I have been testing for quite a while in IE 7, and I have to say, from a developer's point of view; big disappointment. There are a few CSS changes; mostly long overdue bug fixes, and a few token extra parts of the CSS standard, just to try to make it look like they are not too far out of the game.

The upgrade concentrates almost entirely on the user interface:

It now has tabs. Good news, but big deal. Opera has had an MDI since Opera 1. Netcaptor (a third party IE interface) introduced tabs, and Opera added them in Opera 4. Mozilla, Safari, Firefox, Konqueror, iCab and OmniWeb have all since added tabs. Avant, Maxthon, and many other IE skins also have tabs. IE is just catching up. It is nice to see them natively supported, but it is nothing to get too excited over any more, it is just something that users expect from a browser.

It has a new anti-phishing feature. Basically, it sends the URLs that you visit to Microsoft, so they can tell you if they are known phishing sites. Other browsers (Firefox, Opera, Safari) are also adopting this approach. This sort of Big Brother approach may be good for some, but I value my privacy. It also looks for possible signs of phishing on the page. It might possibly generate a few false positives, but overall, it seems similar to the idea of scanning your emails for spam. Maybe it is a nice idea.

It has put the menus in a very strange position, under the toolbars, and they are hidden by default (until you press Alt). This seems to be inline with the UI of Vista, so maybe it is a sign of things to come. Excuse me if I do not jump on it as a fantastic innovation though, and it really would be nice if it fitted in with XP when it was running on XP. You can use a registry tweak to put it back where it belongs, and right click on the toolbars to tell it to always show the menu bar.

There are a few other feature changes too, but that is not the main reason we are here. We are here to talk about web development. Standards support. I put it through my article, and a few other tests to see if some extra standards support has been added. Note that most of these changes (even things like the additional selectors) will only take affect if your page uses a doctype declaration that triggers IE 7's strict mode:

HTML 4.01 ABBR tag
Partial <object> fallback (but objects still fail to render without plugins)
CSS 2.1 Selector support (child, adjacent, attribute [still has issues], first-child etc.)
CSS 2.1 Fixed positioning
Fix :hover on all elements
CSS 2.1 max/min-width/height
Partial CSS 2.1 overflow:visible (still wrong for float containers)
Background-attachment: fixed on all elements not just body
CSS 1 !important
Added transparent PNG support
Borders can now accept the 'transparent' colour
International Domain Names (IDN)
And bugs that have been fixed:

Fixed Peekaboo bug
Fixed Guillotine bug
Duplicate Character bug
Border Chaos
No Scroll bug
3 Pixel Text Jog
Magic Creeping Text bug
Bottom Margin bug on Hover
Losing the ability to highlight text under the top border
IE/Win Line-height bug
Double Float Margin Bug
Quirky Percentages in IE
Duplicate indent
Moving viewport scrollbar outside HTML borders
1 px border style
Disappearing List-background
Fix width:auto
Fix blank lines in lists
Support .multiple.classes
Stop falling for the * html CSS hack
Stop falling for the underscore CSS hack
Stop falling for the /**/ CSS hack
Select boxes no longer always-on-top
Fix <?xml prolog?> so it doesn't switch into quirks mode
Only one <base> tag is now allowed per document (and must be before any content that might use it)
And other changes have been made:

Suport for the XMLHttpRequest constructor without needing ActiveX
window.opener can no longer be used to fool the window.close into closing windows not created by scripts
The value property of file inputs only gives the file name, not full path
window.status and window.defaultStatus only work on trusted sites by default
OK, there has been some progress at last. It has taken 4 years, but at least there is some progress. It certainly is not enough though. Their DOM and scripting support has remained static, and still badly limited compared with the other browsers. CSS support is slightly better, but when you consider what the other browsers have achived in the same time, IE 7 is still a futile attempt to stop losing market share. It is not an attempt to bring the browser up to date.

Acid2 has changed. IE 6 was about level with Opera 3.6. IE 7 has now got to about Opera 4 or maybe 5. Generated content, display:table, and data URIs would make a big difference (and would be immensely helpful for many of us), but the layout improvements are as complete as they are going to be. IE 7 is still not even remotely as good as the other browsers, and it will continue to hold back the Web. In addition, they are not releasing it for most of their operating systems, so millions of IE 6 installs will remain, and will still need to be catered for. Keep up the good work Dean Edwards, looks like we are still going to be needing you.

On the positive side, the JavaScript engine is about twice as fast as in IE 6, so it is still a little slower than Firefox's, and still much slower than Opera's.

This is a short article, but that is quite appropriate, because the list of IE 7 fixes is also sadly lacking. The future with IE 7 is looking just as stale as with IE 6. IE users, please do web developers a favour. Change to a better browser.

Running IE 6 and IE 7 on the same computer
Older versions of IE can be run on the same computer as an IE 7 install by using the downloadable zip archive. Unpack the archive into an empty folder, and run iexplore.exe from that folder. (Note that you can also use this approach to run earlier versions on the same computer as an IE 6 install, but notes here are given for IE 7 installs only.)

There are some limitations to this approach. All versions will think they are IE7 when you use conditional comments, so fixes applied with conditional comments may not seem to work. Some of the packaged versions cannot use their address bars, and you have to use file-open. Using offline mode may cause different installs to stop working completely. Some versions have trouble displaying alert, confirm, and prompt dialogs. They may also fail to use cookies or DirectX/filters as well. In Some versions (4, 5), iframes do not work. Print preview and printing may also fail.

An alternative is to use the TredoSoft installer, which can install multiple IE versions (3, 4, 5, 5.5, 6) for you, and fixes the conditional comments, alert, confirm, prompt, cookies, and filters. The TredoSoft installer is designed for use with Windows XP SP 2, with IE 7 installed. The remaining known problems with the IE versions installed by the TredoSoft installer are:

IE 4 and IE 5 cannot display iframes.
IE 3-6 cannot use print preview or print.
IE 3-6 may not be able to store cookies using JavaScript, but should work with normal cookie headers.
In IE 4, you have to use file-open instead of the address bar.
For those of you who use a non-Windows operating system (specifically Unix or Linux, but the same could apply with - for example - Virtual PC for Mac), Mark Gibbens has suggested a few solutions.

1 楼 jefferson 2007-01-26  
以下内容转自:http://dormforce.net/Blog/electronixtar/archive/2006/11/11/11586.aspxMicrosoft Internet Explorer 7 已经随着 Windows Update 进入千万正版及大部分盗版英文XP/2003/Vista了,中文版的也快了,大家来看看微软在IE上又有什么花招吧

1. Alpha Channel in PNG. Supports transparency within the PNG image format, resulting in better-looking websites that are simpler to build.  终于赶上 Firefox 了

2. Improved AJAX Support. Improves the implementation of the XMLHTTP Request as a native Javascript object for rich AJAX-style applications. While Internet Explorer 6 handled XMLHTTP requests with an ActiveX control, Internet Explorer 7 exposes XMLHTTP natively. This improves syntactical compatibility across different browsers and allows clients to configure and customize a security policy of their choice without compromising key AJAX scenarios.  又学Firefox ,这个对象不爽啊,不能set-Cookie

3. Open Search Extensions. In conjunction with Amazon.com, a set of RSS Simple List Extensions were submitted to the RSS community, and released under the Creative Commons license. Among other features, these extensions greatly simplify development of applications that interact with Open Search-compatible search providers.  不如 Maxthon 的简单。也晓得支持POST方式的提交不?

4. Scriptlets--Internet Explorer 7 disables Dynamic HTML (DHTML) scriptlets by default. 没接触过。

5. Channel Definition Format (CDF)--All CDF support was removed from Internet Explorer 7 and replaced with the RSS feed reading experience. Win98里的频道栏?谁用过的吱一声?

6. DirectAnimation--All DLLs to support the Internet Explorer DirectAnimation component were removed in Internet Explorer 7. 可惜啊,这个很有前途的Web 纯 3D 引擎技术。IE4 dHTML提出来的一个很好的东东,CSS里的很多虑镜都靠 DXAnimation呢。

7. XBM-- XBM, an imaging format designed for X-based systems, is no longer supported. 那验证码咋办呢?

8. BASE Element--Internet Explorer 7 strictly enforces the BASE element rule, as documented in the HTML 4.01 standard. We no longer allow BASE tags outside of the HEAD of the document. The standard specifies that the base element must appear within the head of the document, before any elements that refer to an external source. 平时我都不用 <base> 的,汗

9. window.opener and window.close--Internet Explorer 7 no longer allows the window.opener trick to bypass the window.close prompt. Browser windows cannot close themselves unless the windows were created in script. This security enhancement no longer allows browsing to a random site when the main browser window closes unexpectedly. 这个无效了,那么我们还得找另一个。比如某个 ActiveX,哇咔咔,人民群众的智慧是无穷的。

10. Changes that affect modal or modeless dialogs created from script--Modal or modeless dialogs created from script in Internet Explorer 7 might seem to be slightly bigger than their Internet Explorer 6 counterparts. This is caused by a change to the behavior of the dialogWidth and dialogHeight properties, which now set and retrieve dimensions of the content area of a dialog (from Internet Explorer 7 and later). It will no longer be necessary to calculate the area lost by elements of a dialog’s frame. Information on these changes will be posted on the Internet Explorer Blog.

11.  HTTPOnly Cookies--HTTPOnly cookies can no longer be overwritten from scripts.

12. _SEARCH--The _SEARCH sidebar is disabled by default in Internet Explorer 7. It is now a setting and can be turned by checking Enable websites to use the search pane in the Advanced tab of the Internet control panel. 还记得IE6里那个经典的 _media 本地权限,哈哈

13. View Source--The view-source protocol no longer works in Internet Explorer 7. 其实在XP SP2 IE6 里就被废了。

14. Gopher Protocol--Support for the Gopher protocol was removed at the WinINET level. (Gopher support was turned off by default in Internet Explorer 6.) 我平身只用过一次的协议。比IRC还冷清

15. window.external.ImportExportFavorites--window.external.ImportExportFavorites has been removed in Internet Explorer 7.

16. SysImage URL Scheme--The SysImage URL Scheme has been removed from Internet Explorer 7. 这个东东爽啊,看exe图标的,可惜不支持了,不知道弱弱的 hta 支持不?

17. Status Bar Scripting--Scripts will no longer be able to set the status bar text through the window.status and window.defaultStatus methods by default in the Internet and Restricted Zones.  只是 限制区域

18. Security Settings for Script Access to the Clipboard--New security-related updates for Microsoft Internet Explorer 7 include a change in the default security settings for Script Access to the clipboard. Sites using scripts to access the clipboard in the Internet and Trusted sites zones will receive a prompt that will inform the user that their clipboard is being accessed by script.  剪贴板没戏了,vbs的Windows脚本操作剪贴板也就没戏了,靠!

19. Active Desktop--Active Desktop has been removed from Windows Vista.  谁都不用,除了黑客用。不过就没法用 Flash 做桌面啦,郁闷。

参考:http://msdn2.microsoft.com/en-us/ie/aa740486.aspx
以上中文评论只是 est 的个人观点。版权所有,DormForce内部自由传播。

相关推荐

    The Differences of Chinese and English

    例如,使用“and”、“but”、“because”等连词来表达逻辑关系,确保文本的条理性与连贯性。 **2. 汉语文合(Parataxis)** 相比之下,汉语写作更加侧重于意义的连贯性和整体性,往往不依赖于明显的语法连接手段...

    difference between IE and Firefox

    在压缩包"develop in IE and Firefox"中,可能包含的是针对这两种浏览器开发的示例代码、测试用例或解决兼容性问题的策略,可以帮助开发者更好地理解并处理IE和Firefox之间的差异。通过深入研究这些文件,开发者可以...

    Art and Science of Analog Circuit Design

    A final difference is the heavy capitalistic and marketeering influence in many of the chapters. This unplanned emphasis is at center stage in sections by Grant, Williams, Brown, and others, and ...

    the difference of set.rar_The Show_set

    标题中的“the difference of set.rar_The Show_set”暗示了我们即将探讨的是关于集合(set)数据结构在不同场景下的差异或特性。集合是编程语言中常见的一种数据结构,它包含一组唯一的元素,通常不考虑元素顺序。...

    Difference of Gaussian DoG

    DoG (Difference of Gaussian)实现角点检测。 效果见http://blog.csdn.net/abcjennifer/article/details/7639488#comments

    Dog(Difference of Gaussian: 高斯差分)

    **高斯差分(Difference of Gaussian, DoG)详解** 高斯差分是计算机视觉和图像处理领域中一种常见的边缘检测算法,它基于数学形态学的理论,利用高斯滤波器的特性来识别图像中的边缘。在VS2008集成开发环境和...

    CFD经典著作:numerical partial differential equation - finite difference method

    "This important volume is the first part of a two-part textbook (the second part is entitled Conservation laws and elliptic equations). The text includes interesting homework problems that implement ...

    difference between marketing and sales

    7. 部门分工:市场营销部门通常负责策划和市场调研,销售部门则负责销售执行和客户关系维护。 8. 形象与效果:市场营销更像是一种艺术,需要创新和策略,而销售则更注重实际操作和结果。 9. 经验要求:优秀的市场...

    The Principles of Object-Oriented JavaScript 1st Edition

    –The difference between primitive and reference values –What makes JavaScript functions so unique –The various ways to create objects –How to define your own constructors –How to work with and ...

    Yunus, Muhammad - Creating A World Without Poverty; Social Business and the Future of Capitalism

    Creating a World Without Poverty: Social Business and the Future of Capitalism By Muhammad Yunus Publisher: PublicAffairs Number Of Pages: 296 Publication Date: 2008-01-07 ISBN-10 / ASIN: ...

    SSD7 选择题。Multiple-Choice

    (b) the name of the table, the names of the table's attributes, the data types of the table's attributes, the formats of the table's attributes, and the maximum number of rows that the table can have...

    Classifications and Applications of Physical LayerSecurity Techniques .pdf

    无线通信物理层安全的一...design goal of PLS is to increase the performance difference between the link of the legitimate receiver and that of the eavesdropper by using well-designed transmission schemes.

    Codes and Ciphers: Julius Caesar, the Enigma, and the Internet

    The British were able to break the code and the knowledge they obtained made a significant difference in the early years of the war. Encryption is now a foundation pillar of modern society....

    Difference between HBase and RDBMS

    6. 应用场景: - RDBMS适用于需要事务处理、复杂查询和数据一致性的业务,如银行、电商等。 - HBase常用于日志分析、实时监控、互联网广告投放等需要快速访问大量非结构化数据的场景。 总结来说,HBase和RDBMS各...

    the difference between java and C++(part1)

    java and C++ difference

    Every even number is equal to the difference of two prime number

    标题:“Every even number is equal to the difference of two prime numbers”即“每个偶数都可以表示为两个素数之差”,描述了数学中的一个未解决猜想,即哥德巴赫猜想的一个变种,该猜想认为任何一个大于2的偶数...

    Low-Power Implementation of the Bluetooth Subband Audio Codec.pdf

    implementation of the filterbank and quantization portions of the SBC algorithm. Details of the overall system design are also presented, including measurements of power consumption and resource ...

    Local Difference Binary for Ultrafast and Distinctive Feature Description

    随着计算机视觉技术的发展及其在众多领域中的应用不断扩展,如增强现实(Augmented Reality, AR)、即时定位与地图构建(Simultaneous Localization and Mapping, SLAM)以及图像检索等,高效且高质量的特征描述符...

Global site tag (gtag.js) - Google Analytics