翻译:打造Edge渲染内核的浏览器
最近開始了解UWP和Edge內核,在微軟技術博客中找到一篇文章,主要是介紹Edge渲染內核使用技術。順手翻譯了一下。不對之處請斧正!
Over the past several months, we have made?numerous improvements?to theMicrosoft Edge rendering engine?(Microsoft EdgeHTML), focusing oninteroperability?with modern browsers and compliance with new and emerging standards. In addition to powering Microsoft Edge, EdgeHTML is also available for all?Universal Windows Platform?(UWP) apps via the?WebView control. Today we would like to demonstrate how the WebView control can be used to create your own browser in Windows 10.
在過去的幾個月中,我們對微軟edge渲染引擎做了諸多改進,集中在最新瀏覽器的交互方式和符合最新的標準。除了強大的MicrosoftEdge外,通用Windows平臺?(UWP)同樣可通過WebView控件?調用EdgeHTML。現在我們來演示如何通過調用WebView,在Windows 10中創建屬于你自己的瀏覽器。
?
Using standard web technology including JavaScript, HTML, and CSS we created a sample UWP application which hosts the WebView and provides basic functionality such as navigation and favorites. These same techniques can be used in any UWP application to seamlessly integrate web content.
?
使用標準的web技術JavaScript, HTML和?CSS,我們可以創建一個基于WebView并且提供基礎功能如“瀏覽”和“收藏夾”的UWP應用程序。這些技術同樣可以使用在任何UWP應用程序中,進行無縫集成網絡內容。
The crux of the functionality stems around the powerful WebView control. Offering a comprehensive set of APIs, it overcomes?several of the limitationswhich encumber iframes, such as framebusting sites and document loading events. Additionally, the?x-ms-webview, how one declares a WebView in HTML, provides new functionality that is not possible with an iframe, such as better access to local content and the ability to take screenshots. When you use the WebView control, you get the same web platform that powers Microsoft Edge.
?
該應用中的主要功能都來自強大的WebView控件,該控件為開發者提供了全面而眾多的API ,幫助他們克服 iframes 帶來的限制,比如被框架分裂的網站和文檔加載事件。除此之外,x-ms-webview,定義在HTML中的WebView,提供iframe所不支持的新功能,如更好訪問本地內容和屏幕截圖能力。當你使用WebView控件,你可以從該網站平臺獲取對MicrosoftEdge的技術支持。
Get the Sample Code
You can view the?full set of sample code?in our repo on GitHub. You can also demo the browser live by?installing the app?from the Windows Store, or by deploying the Visual Studio solution.
獲取代碼
你可以在Github中瀏覽全套的示例代碼。你也可以從Windows商店在線下載瀏覽器安裝APP,或者部署該Visual Studio解決方案
?
Build Your Windows 10 App Today
With the WebView control, we were able to create a simple web browser using standard web technology in just an afternoon. We look forward to seeing what you build with Windows 10!
馬上創建你的Windows 10 App
通過使用WebView控件,我們只需要花一個下午的時間,就能使用標準的web技術創建一個簡單的網頁瀏覽器。我們期待看到你的Windows 10 作品。
– Josh Rennert, Program Manager, Microsoft Edge
8/28 3:17p – Updating for clarity purposes.
UPDATED AUGUST 28, 2015 3:16 PM
?
國立秀才 ?http://www.cnblogs.com/guolixiucai/
轉載于:https://www.cnblogs.com/guolixiucai/p/5148374.html
總結
以上是生活随笔為你收集整理的翻译:打造Edge渲染内核的浏览器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JS回车事件
- 下一篇: 网站title实现切换