How to open link in the default browser from embedded gecko

Discuss building things with or for the Mozilla Platform.
Posts: 1
Joined: April 9th, 2014, 9:24 am

Post Posted April 14th, 2014, 5:45 am

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()
         string path = System.IO.Path.GetFullPath("c:\\xulrunner\\");

        private void Form_browser_Load(object sender, EventArgs e)


Return to Mozilla Development

Who is online

Users browsing this forum: No registered users and 1 guest