πŸ‹οΈ Browser Gym

Make your browser dirty for testing BleachBit and other privacy tools. Each exercise writes real browser data.

πŸͺ

HTTP Cookies

Server-set (HttpOnly) β€” the Worker sends real Set-Cookie response headers so cookies land in cookies.sqlite and survive page reloads. Browsers hard-cap cookies per origin at ~150–180; extras are silently dropped. JS-set cookies are also written for comparison but are limited to the same cap.

πŸ—„οΈ

localStorage

Writes entries to localStorage. BleachBit can clean this via the browser's storage APIs. Handy for verifying that localStorage items appear and are removed after cleaning.

Waiting…
⚑

sessionStorage

Writes entries to sessionStorage. Lives only for the current tab session β€” cleared automatically on tab close, but present in the browser's memory while open.

Waiting…
πŸ—ƒοΈ

IndexedDB

Creates an IndexedDB database and writes records. Browsers store IndexedDB data in LevelDB (Chrome) or SQLite (Firefox) on disk.

Waiting…
πŸ“¦

Cache API

Uses the Service Worker Cache API to store synthetic responses on disk. Tests whether BleachBit clears cache storage (separate from HTTP cache).

Waiting…
🌐

Tracker Tab Workout

Opens popular tracker-heavy sites in separate tabs. Each visit deposits cookies, fingerprinting scripts, and cached resources β€” a realistic "dirty browser" state. Pop-up blocker must allow this site, or click the links individually below.

Waiting…
πŸ“œ

History Entries

Pushes fake URL entries into history.pushState. This populates the browser's in-memory session history, though not the persistent disk history (for that, visit the tracker tabs).

Waiting…
πŸ“

Form Autofill / Autocomplete

Submit these forms to teach the browser your fake credentials and address. Firefox stores form history in formhistory.sqlite and saved logins in logins.json / key4.db. Chrome uses its own encrypted store. Fill and submit each section β€” the browser will offer to save the data.

Search / text autocomplete (formhistory.sqlite)

Not submitted yet

Address autofill

Not submitted yet

Login & password (browser password manager)

Not submitted yet β€” browser will prompt to save password
⬇️

File Downloads

Generates files with Content-Disposition: attachment so the browser records a download history entry. Text files come from /api/download/; binary files are 1 MiB deterministic payloads from /api/download-bin/. Useful for checking Chrome's History DB and Firefox's downloads.sqlite.

Waiting…
πŸ“

OPFS (origin-private filesystem)

Writes files via navigator.storage.getDirectory(). Chrome persists these under Default/File System/; the first file is >64 KiB so a real blob file is forced into Default/blob_storage/. Status is verified by re-listing the OPFS root and summing file sizes.

Waiting…
🧊

Blob storage

Creates multi-megabyte Blobs with object URLs, fetches each URL back and byte-verifies the payload, persists the largest through IndexedDB (lands in a real *.indexeddb.blob file under Default/IndexedDB/), and enqueues one as a real download. Chrome also creates Default/blob_storage/.

Waiting…
🧭

Navigation trail

Really navigates through N dummy same-origin pages (/nav/1…N), each pulling a different cacheable subresource, then returns here. Deepens the HTTP cache, the History visit list, and the Site Characteristics DB. The status reports after the page reloads.

🎬

Media playback

Plays a bundled 3-second WebM clip to completion (muted), then a short WAV beep. Exercises the media decode pipeline: media cache, VideoDecodeStats, and related per-origin media state.

Waiting…
πŸ“Œ

Persistent storage

Calls navigator.storage.persist() and reports the grant result. When granted, Chrome flips a site-preference bit in Default/Preferences and storage becomes non-evictable.

Waiting…
πŸ“‘

Network Error Logging

Fetches /nel, which answers with NEL, Report-To, and Reporting-Endpoints headers. Chromium then stores a NEL policy for this origin in the profile's Network/Reporting and NEL database and batch-POSTs application/reports+json reports to /api/reports. The policy reports 100% of requests (success_fraction=1.0), so reports keep flowing after enrollment. Firefox and Safari ignore the headers.

Waiting…
πŸ’ͺ

Full Workout

Runs all exercises at once: cookies, localStorage, sessionStorage, IndexedDB, Cache API, history, OPFS, blobs, persistent storage, media, and NEL enrollment. Does not open tracker tabs (do that separately).

Waiting…