Haseen Ahmad

Haseen Ahmad

  • NA
  • 53
  • 1.9k

Disable New windows(tab) from SefSharp(ChromiumWebBrowser)

May 7 2018 1:11 AM
namespace BrowserTest_For_WS801
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
InitBrowser();
}
public ChromiumWebBrowser browser;
public void InitBrowser()
{
Cef.Initialize(new CefSettings());
browser = new ChromiumWebBrowser("www.wasairobot.com");
panel1.Controls.Add(browser);
browser.Dock = DockStyle.Fill;
}
}
}
This my Source Code when I run my program then its will Execute and open website but I want to disable New windows tab when I click any link from opened website
Please help me anyone how to handle it......