javascript - How to open a URL in Windows 8 in a specified browser -
i've created javascript windows store blank app, , added following code launch google in default browser.
var url = new windows.foundation.uri("http://www.google.com") windows.system.launcher.launchuriasync(url);
what can specify specific browser launch google in? possible? think read somewhere can't this, can't seem find forum longer.
you can't it. app doesn't know browsers installed, won't able target specific one, if framework allowed (which doesn't). other thing bear in mind user should in control (in case specifying default browser). should not try override choice.
Comments
Post a Comment