IE7新特性的细节:Internet开发者必看
Posted | archive
Microsoft 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. 平时我都不用
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 的个人观点。
Comments