Skip to content

What the in-app browsers of Zalo, Messenger, Facebook, Instagram and TikTok see, and how to open links in your own browser

Tap a link a friend sent in Zalo or Messenger, or the link under a TikTok video, and the page usually opens inside that app, not in Safari or Chrome. This guide explains what an in-app browser is, what the app can see according to named research, why you have to sign in again, and how to open links in your own browser.

  • Many chat and social apps show web pages in a browser frame of their own, with their own title bar and ⋯ button. The page does not run in the browser you chose, even if you changed your default browser.
  • On Android, an app can use a WebView (a browser frame the app controls) or Custom Tabs (the page runs in your browser, such as Chrome). On iPhone, an app can use its own frame or Apple's Safari frame. You usually cannot tell which one an app uses.
  • When a page runs in the app's own frame, the app can run JavaScript on it. In 2022, researcher Felix Krause found that the Instagram and Facebook apps on iOS injected a script (pcm.js) into every page opened in the app, ads included; Messenger also modified pages.
  • Meta replied that pcm.js aggregates events for ads and measurement while respecting the user's iPhone tracking choice, and that the code watching the text you select had been deprecated. Krause did not show what data, if any, is sent.
  • Also according to Krause, TikTok's in-app browser on iOS then watched key presses and taps on pages. TikTok confirmed the code existed but said it is used only for debugging and performance monitoring.
  • These are 2022 findings on iPhone; the apps may have changed since. Krause also notes that apps opening links in Apple's Safari frame or in the default browser cannot inject code into the page.
  • Whether or not an app injects code, it always knows which link you tapped, because the link sits in the app's own message or post.
  • According to Google, a WebView does not share state with the browser, so a page opened in an app usually does not know you are signed in in Chrome or Safari: you have to sign in again. Custom Tabs do share cookies with the browser.
  • Sign in inside an app's browser and the cookies stay in that app. TikTok says the cookies in its in-app browser keep login information, and it has a "Clear cookies and cache" button in the ⋯ menu or the Share button at the bottom.
  • So do not type your bank password or other important passwords in an app's browser. Open the page in your own browser first, then sign in.

Signing out remotely after using someone else's phone · Should you save passwords in your phone's browser?

  1. With the page open in the app, look for the ⋯ (three dots) button in a top corner, or a Share button at the bottom.
  2. Choose an item like "Open in browser", "Open in Safari" or "Open in Chrome". The name varies by app and version.
  3. No such item: choose Copy link, open the browser you want and paste it into the address bar.
  4. Or choose Share and pick the browser you want in the share sheet, if it is listed there.

Zalo, Messenger, Facebook, Instagram, TikTok

Section titled “Zalo, Messenger, Facebook, Instagram, TikTok”
  • We could not find an official help page from Zalo, Meta (Messenger, Facebook, Instagram) or TikTok that names the button for opening links in an outside browser, so this guide only gives the general route: the ⋯ menu › Open in browser, button name varies by version.
  • Some apps have a setting to always open links in an outside browser, but no official page gives its path, and it changes between versions. Search the app's Settings for "browser" or "links".
  • TikTok: the official help page shows how to clear the cookies and cache of TikTok's in-app browser, from the ⋯ menu or the Share button at the bottom, or from Settings and privacy.
  • A link opened outside goes to your default browser on Android, and usually to Safari or your default browser on iPhone. To change that browser, see the guide to changing the default browser.

Change the default browser on iPhone and Android

  • Lean cannot change how Zalo, Messenger, Facebook, Instagram or TikTok open links, and does not stop the app from knowing which link you tapped. Lean helps with the next step: the page you open outside opens in Lean.
  • Android: make Lean your default browser, or pick Lean when the system asks which app should open the link; the app's "Open in browser" item usually sends the link there. You can also choose Share › Lean Browser.
  • Android, in apps that let you select text: long-press to select a link, then choose "Open in Lean" in the text selection menu. If the selected text is not a link, Lean searches for it with your chosen search engine.
  • iPhone: Lean cannot be your default browser, because Apple only allows that for apps with a special entitlement and Lean does not have it yet. In the app's ⋯ menu or share sheet, choose Share › "Open in Lean", or copy the link, then long-press the Lean icon › "Open link from clipboard".
  • Every link opens in a brand-new session, with no cookies or history from last time, and is forgotten on your timer.

Open links in Lean Browser · How Lean forgets · Lean Browser features

Checked October 29, 2026 (iPhone with iOS 26, Android 16). Krause's two posts are 2022 findings; how the apps open links and what their buttons are called may have changed.

Free, no ads, no account, no analytics.

Download on the App StoreGet it on Google Play

Spotted a mistake or have a question? See the Support page.

Read more