Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to launch a URL in IE10 from within a Windows 8 WInJS application?

Tags:

winjs

this might be a silly question but I have not been able to find an answer. I want to launch a specific URL with IE10 from within my Windows 8 javascript application, i.e. my application will be suspended and IE10 will launch. How do I do that with javascript?

Thanks Themos

like image 383
Themos Piperakis Avatar asked May 15 '12 12:05

Themos Piperakis


1 Answers

var url = new Windows.Foundation.Uri("http://www.google.com")
Windows.System.Launcher.launchUriAsync(url);
like image 106
Michael Brearley Avatar answered Dec 06 '22 11:12

Michael Brearley