Private Sub WebBrowser1_NewWindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
Dim urlNew As String = sender.Document.ActiveElement.GetAttribute("href")
Me.WebBrowser1.Navigate(urlNew)
e.Cancel = True
End Sub
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! |