24

Sometimes an Incognito Tab Simply Isn’t Enough!

 4 years ago
source link: https://devops.datenkollektiv.de/sometimes-an-incognito-tab-simply-isnt-enough.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Home Menu

Sometimes an Incognito Tab Simply Isn’t Enough!

Jonek | Thu 03 December 2020

And here it comes: Jonek’s first mini blog post! ?

Sometimes you want to start a separate throw-away instance of Chrome.

But you want to keep your current instance (because it has those ? tabs that you need ?).

Use this simple trick:

mkdir /tmp/chrome-tmp; google-chrome --user-data-dir=/tmp/chrome-tmp; rm -rf /tmp/chrome-tmp

It creates a temporary directory /tmp/chrome-tmp to store everything chrome wants to store and deletes it again after you closed that chrome window.

Pro Tip: This is especially handy in conjunction with chrome's option —ignore-certificate-errors if you want to use/test/debug web services with self-signed SSL certificates.

Simply replace google-chrome with /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome when running on a Mac.

Check Doug’s Notes Multiple Instances of Chrom for more details…


Photo by Samia Liamani on Unsplash


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK