Login  Register

open URL in non-default browser?

Posted by b holi on Oct 09, 2009; 6:03am
URL: http://imagej.273.s1.nabble.com/open-URL-in-non-default-browser-tp3690885.html

run("URL...", urlString) will open the url in the default browser.

From ImageJ, can an alternate browser be targeted or selected to open
instead?

I have developed several browser javascript applications to be run on the
localhost as ImageJ 'helper apps' but I want to avoid having ImageJ open
them in MS Internet Explorer.  From the applications I can detect which
browser is launched and close the window if it is MSIE (to avoid presenting
the user with fatal javascript errors), but I'm hoping to avoid directing
users to open the HTML files manually in a different browser.  These are
large applications developed in Gecko browsers and I am not eager to accept
the project of taking them to Internet Explorer.

I'll be grateful for any comments or suggestions.

-Bruce Holifield