Example #1
0
        void WebView5_LoadCompleted(object sender, NavigationEventArgs e)
        {
            List <Uri> allowedUris = new List <Uri>();

            allowedUris.Add(new Uri("http://kexp.org"));
            WebView5.AllowedScriptNotifyUris = allowedUris;
            WebView5.ScriptNotify           += WebView5_ScriptNotify;
            string[] args = { "document.title;" };
            string   foo  = WebView5.InvokeScript("eval", args);

            rootPage.NotifyUser(String.Format("Title is: {0}", foo), NotifyType.StatusMessage);
        }