Skip to content

How Lean forgets

Lean Browser makes one promise: it forgets. This page explains how it does that on iPhone, iPad and Android, where the two platforms differ, and what is out of Lean's reach. We describe what the app actually does, including the parts that are not perfect.

  • iPhone, iPad: cookies, cache and site data stay in memory only and are not written to the app's folder.
  • Android: the system browser engine (WebView) does write to disk. Lean erases it when it forgets, and cleans out the whole WebView data folder each time the app opens.
  • Each tab has its own data store (on Android this needs WebView 115 or later).
  • Lean forgets on a timer after you leave the app, when the app closes, or at once with Forget now or a gesture.
  • Lean is not a VPN, does not hide your IP, does not defend against fingerprinting, and cannot erase what the operating system or websites keep themselves.
  • Each tab uses a "non-persistent" WebKit data store: cookies, cache, localStorage, IndexedDB and other site data live in memory only and are not written to the app's folder.
  • When Lean forgets, every tab is closed together with its data store; a new tab starts with an empty one.
  • Each time the app opens and when it quits normally, Lean also clears WebKit's default data store, the network cache and the app's shared cookies, in case anything ended up outside a tab's store.
  • A file you choose to "Open in another app" is saved temporarily in the app's folder and deleted when you close the share sheet.
  • iOS gives apps only a short time in the background. If iOS suspends Lean before the timer ends, the data stays in the app's memory until you come back (Lean erases it right then, before showing the page) or until iOS ends the app.
  • Android's WebView has no memory-only mode, so it still writes cookies and site data to the app's private folder. Lean sets WebView to skip the cache and not save form data, and gives pages only your approximate location, only when you allow it; the rest has to be erased afterwards.
  • When Lean forgets, it erases the cookies and site data of every tab, the cache, history, form data, HTTP login passwords kept by WebView, and temporary downloads.
  • If Android has closed Lean in the background, a system timer (AlarmManager) still runs to wipe the WebView data folder on disk when time is up. It may fire a little late, because Android batches timers to save battery.
  • Each time the app opens, before any WebView is created, Lean deletes the whole WebView data folder (including each tab's folder), WebView's cache, temporary downloads, and a few files WebView writes on its own: hashes of the sites visited that day, the HTTP login database and crash reports.
  • Some things can only be removed at the next launch. WebView does not allow deleting a tab's folder while it is loaded, so the emptied folder (which still lists the domains you visited in a storage bookkeeping file) stays on disk until the app opens again. On old WebView versions, erased localStorage entries can remain in a WebView log file until the next launch.
  • Erasing here means ordinary file deletion; the old storage is not overwritten.
  • Up to 5 tabs. Each tab has its own cookies and site data: a page in one tab cannot read the cookies or localStorage of another.
  • iPhone, iPad: each tab has its own WebKit store in memory.
  • Android: each tab has its own WebView profile, available from WebView 115 (updated through Google Play). With older WebView versions all tabs share one store, and Lean's Settings says so. Closing a tab deletes its profile, or the next launch cleans it up if WebView does not allow it yet.
  • Each tab can be set to self-destruct after 1, 5 or 15 minutes; when time is up it closes just as if you closed it.
  • Separate stores do not make tabs strangers to each other: they still share your IP address and browser characteristics.
  • When you have been away longer than the time chosen in Settings › Forget: immediately, after 1 minute (the default), after 5 minutes, or only when the app closes. Come back before the timer ends and everything is still there.
  • When the app closes, and once more when it opens.
  • When you tap Forget now, shake the phone, lay it face down for at least 0.7 seconds, or (on iPhone and iPad) swipe down on the address bar. Each gesture can be turned off; gestures do nothing while the app is locked or the session is empty.
  • Optional, off by default: forget as soon as you lock the screen on iPhone (only when the device has a passcode, since iOS only reports locking then) or turn the screen off on Android.
  • Countdown: iPhone shows a countdown on the lock screen (on by default); Android has a countdown notification (off by default, needs notification permission). On Android the wipe runs even with notifications off.
  • Links opened from other apps and the "New session" shortcut always start with an empty session.
  • Reset everything in Settings: forgets the session, cancels timers and deletes every saved option.
  • Android: an automated test opens a page that writes cookies, localStorage and IndexedDB carrying a unique marker, taps Forget now, then scans every byte of every file in the app's data folder for that marker.
  • iPhone: a similar test opens two tabs, makes Lean forget, then scans the app's folder in the iOS simulator. Only a few empty WebKit bookkeeping files remain. Data that WebKit and iOS keep outside the app's folder is out of the test's reach.
  • The only thing Lean saves is your options in Settings: when to erase, search engine, switches. No page addresses, history or login details.
  • Your IP address: Lean is not a VPN. Websites, your network provider, the Wi-Fi owner and DNS servers still see which sites you visit.
  • Fingerprinting: Lean does not defend against fingerprinting (no canvas, audio or WebGL noise); we chose not to. Sites may recognise your browser from your device's characteristics, even after Lean forgets.
  • What websites keep on their servers: your account, order history, searches made while signed in, access logs.
  • What the operating system and other apps keep outside Lean, for example screen time statistics, your keyboard learning from what you type, the clipboard, screenshots you take yourself (Android blocks screenshots of Lean, iPhone does not), files you saved to another app.
  • Until Lean forgets, the data is still there: someone holding your unlocked phone at that moment can see the open page. Lean's Face ID, Touch ID or fingerprint lock helps here.
  • Lean does not catch every tracker and does not protect you from phishing pages or malware.

Free, no account, no analytics. See all features

Download on the App StoreGet it on Google Play

Is incognito mode really private?

Privacy glossary: cookies, trackers, fingerprinting, GPC…

Spotted something wrong or have a question? See the Support page.

Read more