I've seen several ad blocking extensions on Google Chrome but I don't want to block ads normally. I only want to block ads while I'm browsing in incognito mode.

I don't see any way to limit extensions to incognito mode only. How can I accomplish this?

link|improve this question

64% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Since Chrome doesn't allow to enable extensions in incognito mode only, you may use a different user profile for incognito mode, and set up the extensions you need for the incognito mode in this user profile.

In order to do it, create a shortcut on your Desktop with the following command (for Windows XP):

"C:\Documents and Settings\Your Username\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --user-data-dir="..\User Data\Inco" --incognito

This solution has two drawbacks:

  1. You have to run the incognito mode via a separate shortcut.
  2. You have to install and update the extensions for incognito and normal browsing separately.
link|improve this answer
This sounds good, but I'm not sure I understand how to setup a different user profile. – matt Apr 3 '11 at 12:06
You just need to provide the --user-data-dir parameter in the shortcut, and Chrome will set up the user profile the first time you run it with this parameter (just checked it on my machine). – Jack Shainsky Apr 3 '11 at 12:29
So just creating that directory and using it in the shortcut is enough to create a new user profile? – matt Apr 3 '11 at 13:08
You don't need to create the directory, Chrome will do this for you. You may just create the shortcut and start using it. – Jack Shainsky Apr 3 '11 at 13:34
Perfect, thanks, this was just what I was looking for. I had to change the shortcut a bit though: c:\Users\username\AppData\Local\Google\Chrome\Application\chrome.exe --user-data-dir="..\User Data\Inco" -incognito – matt Apr 3 '11 at 14:56
show 1 more comment
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.