Episode

WebView Magic Tricks Series Part 3: Alert Interceptor

The Windows 8 & 8.1 WebView control will not show Javascript Alerts that are raised by the webpage inside the WebView. This presents a challenge to applications developers when they do not control the content of the website. However, this can be remedied by the use of Javascript invoked into the WebView.

In this part of his WebView Magic Tricks series, @WinDevMatt shows you how to manipulate the WebView control using Javascript invoked by your C# application.

JavaScript