[資訊] IE 11 相容性變更
IE 11 相容性變更
http://msdn.microsoft.com/zh-tw/library/ie/bg182625(v=vs.85).aspx
擷取其中幾項變更簡述...
User Agent中的 MSIE 被移除了...
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko
navigator.appName 也由 Internet Explorer 變更為 Netscape
移除的 API 功能 取代的功能
attachEvent addEventListener
window.execScript eval
window.doScroll window.scrollLeft、window.scrollTop
document.all document.getElementById
document.createStyleSheet document.createElement("style")
style.styleSheet style.sheet
這些API好像以前都是IE only,現在變成只有舊版的IE才能執行了...
而且在開發者工具中,IE11把相容性設定移到「模疑」頁籤中,並且移除「瀏覽器模式」
--
每一個新版本都是新的惡夢,改不完的程式...
--
▃▅▇▆▄ ▆▂▃ `
逝去感情如何能留住,半點癡情遺留殊不易,██▅▇▄▃ ▇▃▂" .
█████████▃i ▁▄▇
更多悽悽慘慘的遭遇…………██▆▃ █▅▆▃ˍ▄*
◢ ▂█▄▇▅▂▌.
我不知道,王~八~蛋~~! ▂▆███ █▄▃ 。fumizuki。Check。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.194.72.87
→
11/16 17:35, , 1F
11/16 17:35, 1F
→
11/16 17:35, , 2F
11/16 17:35, 2F
→
11/16 17:47, , 3F
11/16 17:47, 3F
→
11/16 18:05, , 4F
11/16 18:05, 4F
→
11/16 18:06, , 5F
11/16 18:06, 5F
→
11/16 18:08, , 6F
11/16 18:08, 6F