# \[FAQ\] How to Open a URL in the Default Browser in io.Connect Desktop

**URL:** <https://community.interop.io/t/faq-how-to-open-a-url-in-the-default-browser-in-io-connect-desktop/566>\
**Category:** io.Connect Desktop\
**Tags:** FAQs\
**Created:** [April 27, 2026, 9:09am UTC](https://community.interop.io/t/faq-how-to-open-a-url-in-the-default-browser-in-io-connect-desktop/566 "2026-04-27T09:09:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toni.petrov](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.interop.io/toni.petrov/32/17_2.png) [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Post date:** [April 27, 2026, 9:09am UTC](https://community.interop.io/t/faq-how-to-open-a-url-in-the-default-browser-in-io-connect-desktop/566/1 "2026-04-27T09:09:24Z")

</div>

## Question

How to set an app to be opened in the default browser from Launchpad/toolbar instead of in an io.Connect Desktop Window

## Answer

An easy solution is to create an app that remains hidden and opens the required URL in the machine’s browser. The customProperties object allows us to configure the app to open any intended URL via the application’s source. Sample code below:

_index.html:_

```auto
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta ...>
        <title>hidden-app</title>
        <script src="./index.js"></script>
    </head>
    <body>
    </body>
</html>

```

_index.js_

```auto
// IO is not imported as it is autoInjected as part of the window sandboxing, but if autoInjection is disabled - you will need to import the IO library manually
IODesktop()
.then(async (io) => {
    const currentConfig = await io.appManager.myApplication.userProperties;
    const url = currentConfig.url;
    window.open(url);
    return io.windows.my().close();
})
.catch((error) => {
    console.error("Error initializing IODesktop:", error);
});

```

_Config of the application, which should be placed in an app store configured in `system.json`:_

```auto
{
    "type": "window",
    "name": "openInBrowser",
    "details": {
        "url": "http://localhost:8881/index.html",
        "hidden": true
    },
    "customProperties": {
        "url": "https://example.com/"
    }
}

```
