-1

How can i blocked dialog box for webbrowser?

on the dialog box. And my program is paused... How can i blocked dialog box. İ can use this code but its not works.

        private void webExplorer_NewWindow(object sender, CancelEventArgs e)
    {
        e.Cancel = true;
    }

1 Answers1

1

It's a javascript alert() call. See here.

Dan
  • 9,717
  • 4
  • 47
  • 65