brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: start Chrome with its own user data folder for a clean test profile

Chrome
~/tips/tip-chrome-user-data-dir-clean

google-chrome --user-data-dir=/tmp/chrome-clean --no-first-run

Test a site without your extensions, cookies and settings getting in the way.

When a page breaks for me, the first suspect is my own browser: extensions, old cookies, some flag I forgot about. A separate user data folder gives Chrome a blank slate, and my normal profile is left alone.

On Linux:

google-chrome --user-data-dir=/tmp/chrome-clean --no-first-run

On a Mac:

open -na "Google Chrome" --args --user-data-dir=/tmp/chrome-clean --no-first-run

On Windows, add the same switch after chrome.exe, with a Windows path. If the folder does not exist yet, Chrome creates it and starts like a fresh install. --no-first-run skips the welcome screens.

This window runs next to your regular one, so you can compare them side by side. If the bug is gone in the clean window, start looking at extensions and site data in your daily profile. If it is still there, it is probably the site.

The folder stays on disk after you close the window, including any logins you did in it. Delete it when you are done, or pick a path you will recognise later. Two Chrome instances cannot share one data folder, so give each test its own.

Further reading: Chromium docs: user data directory

More Chrome tips chrome://net-export/ Windows and Linux: Ctrl+Shift+A Settings > Search engine > Manage search engines and site search > Site search > Add chrome://net-internals/#hsts chrome://version All Chrome tips (12) All topics

Link