( ◉‿◉) …… 微軟你居然要捨棄 EdgeHtml !?

For the past few years, Microsoft has meaningfully increased participation in the open source software (OSS) community, becoming one of the world’s largest supporters of OSS projects. Today we’re announcing that we intend to adopt the Chromium open source project in the development of Microsoft Edge on the desktop to create better web compatibility for our customers and less fragmentation of the web for all web developers.

以上是《Microsoft Edge: Making the web better through more open source collaboration》的節錄。

今年微軟的爆彈也太多了吧,收購Github、改採 chromium ……

雖然我曾表明支持微軟收購 Github ,但這次採用 Chromium 我反倒採取反對態度!

理由其實和 Mozilla 的理由(請參閱《Goodbye, EdgeHTML》)很像,因為現在的 Chromium 和十年前的 IE 太像了,都是超過一半使用率的主流,如果再把 Opera 、 Vivaldi ……等等也算進來的過,那市占率更不知道多少了。


下面是 statcounter 從去年 11月到今年11月的統計資料,可以看出來 Chrome 的市占率有多誇張

Source: StatCounter Global Stats - Browser Market Share

當然,Chrome / chromium 很好用,我自己在家的瀏覽器也是 Chrome 為主。但,如果今天 chromium 是純粹以 W3C 為標準所設計的瀏覽器也就算了,偏偏除了標準外,還額外追加了許多自己的功能。

例如:

  • CSS3 的 -webkit- 前綴
  • 自定義的 HTML attribute ,例如 file input 的 webkitdirectory attribute
  • 專屬於自己的偽元素,像是 date input 就有下面幾個
    • ::-webkit-datetime-edit-ampm-field
    • ::-webkit-datetime-edit-day-field
    • ::-webkit-datetime-edit-hour-field
    • ::-webkit-datetime-edit-millisecond-field
    • ::-webkit-datetime-edit-minute-field
    • ::-webkit-datetime-edit-month-field
    • ::-webkit-datetime-edit-second-field
    • ::-webkit-datetime-edit-week-field
    • ::-webkit-datetime-edit-year-field
  • User Agent,當然這是 IE 時代留下的負面遺產,但是當年 Opera 還在用 Presto 引擎時,人家可是的 User Agent 可是正常的 Opera/9.80 (Windows NT 6.1; Win64; x64) Presto/2.12.388 Version/12.18。甚至 Midori,同樣使用 webkit 的瀏覽器,在某些版本也是正常的 Midori/0.2 (X11; Linux; U; en-ca) WebKit/531.2+ 。可惜絕大多數瀏覽器,包含 Chrome 都採用將錯就錯的 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 這種格式

另外還有記憶體的問題,不過那些在其他 chromium 瀏覽器中,有些有被處理掉,所以就不提

不過總的來說,看到這樣子有著一堆私有標準的東西幾近反客為主,實在很難以正面的角度看待啊……

沒有留言:

張貼留言

小提示:留言時,可以使用粗體(<b>)、斜體(<i>)、超連結(<a href="網址"> </a>)。另外,以「名稱/網址」留言時,網址可以留空的。