Hola Rdgo,
Puedes utilizar este código. Espero que te sirva de ayuda.
Un saludo.
var settingsPane = Windows.UI.ApplicationSettings.SettingsPane.getForCurrentView();
settingsPane.addEventListener("commandsrequested", onCommandsRequested);
function onSettingsCommand(settingsCommand) {
// The URI to launch
var uriToLaunch = "http://www.....es/privacidad";
// Create a Uri object from a URI string
var uri = new Windows.Foundation.Uri(uriToLaunch);
Windows.System.Launcher.launchUriAsync(uri).then(
function (success) {
if (success) {
// URI launched
} else {
// URI launch failed
}
});
}
function onCommandsRequested(eventArgs) {
var settingsCommand = new Windows.UI.ApplicationSettings.SettingsCommand("Privacy", "Política de privacidad", onSettingsCommand);
eventArgs.request.applicationCommands.append(settingsCommand);
}