# In-app browser

> Safari inside AirBuild on iPhone and iPad: which links open in it, which go elsewhere, how to close it or move a page to Safari, and how to turn it off.

Source: https://air.build/docs/screens/shell/in-app-browser/

> [!NOTE]
> iPhone and iPad only. On the Mac, links in messages open in your default browser; a published page's card opens a **Website** tab.

When you tap a web link in a chat, AirBuild opens the page in Safari inside the app, over the chat, so you can read it and come straight back. It's Apple's Safari view with Safari's own controls; AirBuild adds nothing to it. You can switch it off so that links go to your default browser instead.

## Open it

Tap a web link (one starting with `http://` or `https://`) in any of these:

| Where | What you tap |
| --- | --- |
| A message in a chat | A link in the text of a message, from a person or an Agent. See [Conversation](https://air.build/docs/screens/chat/conversation/). |
| A link preview | The preview card under a message: picture, title and site. |
| A [Report](https://air.build/docs/cards/report/) card | The link in a report's details. |
| Other cards in a chat | A web link inside a card. |
| A Knowledge answer | A link in the answer to a test question. See [Answer from your documents (Knowledge)](https://air.build/docs/services/answer-from-your-documents/). |

On iPhone the page covers the whole screen. On iPad it opens as a sheet over the window.

Signing in to AirBuild and connecting an outside account don't use this browser.

## Where a link goes

AirBuild checks each link before it opens it:

| The link | Where it opens |
| --- | --- |
| A web page | The in-app browser. |
| A web page that another app on your device handles (for example a link the app of that site claims) | That app, as it would from Safari. |
| An App Store or TestFlight link | The App Store or TestFlight app. |
| An email address (`mailto:`) | Your mail app. |
| Any other kind of link in a message (a file, another app's link, an AirBuild link) | Nowhere: it's shown, but tapping it does nothing. |
| Any link, with **Open Links in Default Browser** on | Your default browser, or the app that handles it. |
| A page an Agent published (its card in the chat), or a running server's **Open** | Not this browser: a **Website** tab in the chat's [Inspector](https://air.build/docs/screens/shell/inspector/), on every device. In a DM or a group with **Open Links in Default Browser** on, your default browser instead. |

## What's on it

The browser shows the page with Safari's own controls, which follow your iOS version:

| Control | What it does |
| --- | --- |
| **Done** (or ✕) | Closes the browser and returns to the chat, exactly where you were. |
| The address | Shows the page's site. |
| Back and forward | Move through the pages you've opened in this browser. |
| Share | The iOS share sheet for the page. |
| Open in Safari (compass) | Moves the page into the Safari app. |

Each tapped link opens a new browser. Closing it leaves the chat as it was: an open reply thread stays open.

## Turn it off

1. Open Settings (on iPhone, your photo on Home, then **Settings**; on iPad, the gear at the foot of the sidebar). See [Settings window](https://air.build/docs/screens/shell/settings-window/).
2. Tap **General**.
3. Turn on **Open Links in Default Browser**.

The change applies to the next link you tap. It's off unless you turn it on. See [General](https://air.build/docs/settings/general/).

**Why did a link open in another app instead?**

The app that owns that site claimed the link, or it was an App Store, TestFlight or email link. AirBuild hands those to the system, the same as Safari would.

**Why does nothing happen when I tap a link in a message?**

Only web and email links in messages open. Links to files, to other apps or into AirBuild are shown but don't open.

**Is there a way to use it on the Mac?**

No. The Mac app opens links in messages in your default browser (a published page's card opens a **Website** tab), and its General settings have no **Open Links in Default Browser** switch.
