I've embedded xulrunner in a simple c# app that serves only to run a custom website.
It works fine, but the website has some _blank link pointing to other domains, how can I enable them to open in the default browser?
Doing this from c# is fine, but making it work altering the html/javascript would be wonderful because there are some app that I can't update.
This is the really really simple code that I'm using to call xulrunner
Code: Select all
public Form_browser()
{
InitializeComponent();
string path = System.IO.Path.GetFullPath("c:\\xulrunner\\");
Skybound.Gecko.Xpcom.Initialize(path);
}
private void Form_browser_Load(object sender, EventArgs e)
{
geckoBrowser.Navigate(Properties.Settings.Default.redirect);
}