winform webbrowser禁用网页target=blank
/// <summary> /// 屏蔽target=_blank 的弹出窗口 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void broMain_NewWindow(object sender, CancelEventArgs e) { e.Cancel = true; broMain.Navigate(broMain.StatusText); }