| 發表文章 | 發起投票 |
騙局:admin 根本無理禁止 IE6/7/8 呢?
很多人都知道 admin 要禁絕 IE6/7/8, 但事實上很多公司機 或 其他特別理由, 例如 group policy 或 guest account, 都只能用 IE 的 browser...
究竟為何要禁止 IE 6/7/8 呢? 翻查一下這個website, 只有 jQuery 2.0 版本不容許 IE 6/7/8; 那麼 jQuery 2.0 是否比 jQuery 1.10 好呢? 唯一好處係細及快些, 但根本這些 jQuery 就唔需要 download, 一般只是用CDN 直接下載.... 例如 Google CDN 或者 本 website用的 Cloudflare CDN http://cdnjs.com/#jquery.
很明顯, 使用jQuery 1.10.2 根本無損失. 而且 jQuery 官方寫明 "jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guide apply here as well. Since IE 6/7/8 are still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site."
所以, 根本係無理禁絕 IE 6/7/8.
Reference: http://jquery.com/download/
究竟為何要禁止 IE 6/7/8 呢? 翻查一下這個website, 只有 jQuery 2.0 版本不容許 IE 6/7/8; 那麼 jQuery 2.0 是否比 jQuery 1.10 好呢? 唯一好處係細及快些, 但根本這些 jQuery 就唔需要 download, 一般只是用CDN 直接下載.... 例如 Google CDN 或者 本 website用的 Cloudflare CDN http://cdnjs.com/#jquery.
很明顯, 使用jQuery 1.10.2 根本無損失. 而且 jQuery 官方寫明 "jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guide apply here as well. Since IE 6/7/8 are still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site."
所以, 根本係無理禁絕 IE 6/7/8.
Reference: http://jquery.com/download/
本貼文共有 0 個回覆
此貼文已鎖,將不接受回覆
| 發表文章 | 發起投票 |