Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> Windows 資訊

Edge 瀏覽器擴充功能可高度相容 Chrome 擴充功能,僅需微調程式碼

編輯:Windows 資訊

微軟已上線 Edge 瀏覽器擴充功能頁面,Win10 Redstone 1 (RS1) 下一個預覽版將支援擴充功能。開發者 Bavo Luysterborg 發現,首批三款擴充功能(微軟翻譯、滑鼠手勢、Reddit 擴充)程式碼與 Chrome 版幾乎 100% 相容。

Edge 擴充功能商店
Edge 瀏覽器擴充功能商店首頁

技術相容性分析

Bavo 指出 Edge 擴充功能與 Chrome 差異極小:

  • 將「chrome」命名空間改為「msBrowser」
  • manifest.json 兩處微小修改
  • 核心邏輯程式碼完全可復用

Bavo 成功在 Chrome 上載入滑鼠手勢、Reddit 等 Edge 擴充功能並正常運作。這證實微軟去年 Build 大會承諾的「相容 Chrome、Firefox 擴充功能」非虛言,至少對 Chrome 生態,開發者只需簡單修改本地程式碼即可上架 Edge。

生態戰略意義

Windows 10 不僅推動 iOS 應用移植專案(目標 150 萬應用),Edge 現在也向競爭對手生態延伸。微軟正全力建構「大一統」應用生態,降低開發者跨平台成本,吸引更多優質擴充功能入駐。

Copyright © Windows教程網 All Rights Reserved