在一個新的應用程序中,我們決定不再支持IE6,所以我們有一個條件註釋來加載一個腳本。IE有條件的評論問題
代碼是:
<!--[if lt IE 7]>
<h2 style="color:red;">Old Version of Internet Explorer Detected</h2>
<p style="color:red;">It appears that you're using an old version of Microsoft
Internet Explorer. This site is optimized for Internet Explorer
7 and above as well as Mozilla Firefox. Please download a
newer version of <a href="https://www.microsoft.com/windows/Internet-explorer/default.aspx">
Internet Explorer</a> or <a href="https://www.mozilla.com/firefox/">Firefox</a>
before continuing.
</p>
<![endif]-->
然而,對於一個公司,評論火災,儘管他們使用IE7和IE8的。
以下是訪問日誌,其中隱私信息被刪除。
10.xxx.xx.xx - [15/Aug/2011:17:18:54 -0500]「GET /broker/js/ie6.js HTTP/1.1」200 147「https:// xx 「.xxxxx.com/broker/registration」「Mozilla/4.0(compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)「」en-us「
任何想法??
安迪
我的建議並不是將信息放在第一位。目前IE6已經過去了。它被世界上不到10%的人使用!即使微軟也試圖殺死它:http://www.ie6countdown.com/ – tw16
但我同意,但是,我們約8%的用戶仍然使用IE6,如果使用低於IE7的任何內容,此特定應用程序無法正常工作。我們選擇不添加所有的IE6 CSS和JS黑客。 – Andy