<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Quick Fix &#187; Google Chrome</title>
	<atom:link href="http://myquickfix.co.uk/category/computers/software/google-chrome/feed/" rel="self" type="application/rss+xml" />
	<link>http://myquickfix.co.uk</link>
	<description>Quick fixes for little problems...</description>
	<lastBuildDate>Thu, 16 Feb 2012 14:57:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Launch Google Chrome Incognito from the terminal or a shortcut in OSX</title>
		<link>http://myquickfix.co.uk/2011/10/launch-google-chrome-in-incognito-from-terminal-or-a-shortcut-in-os-x/</link>
		<comments>http://myquickfix.co.uk/2011/10/launch-google-chrome-in-incognito-from-terminal-or-a-shortcut-in-os-x/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 23:55:54 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[OS X / Unix]]></category>

		<guid isPermaLink="false">http://myquickfix.co.uk/?p=119</guid>
		<description><![CDATA[Problem: Ok not really a problem, but I want to be able to launch Google Chrome straight to Incognito mode from a shortcut. This is useful when logging into multiple bank accounts, Google Apps accounts, or testing session based websites. etc etc etc. Fix: Thankfully the Google Chrome.app can be launched with the &#8211;incognito switch [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> Ok not really a problem, but I want to be able to launch Google Chrome straight to Incognito mode from a shortcut. This is useful when logging into multiple bank accounts, Google Apps accounts, or testing session based websites. etc etc etc.</p>
<p><strong>Fix:</strong> Thankfully the Google Chrome.app can be launched with the <em>&#8211;incognito</em> switch to do just that. The terminal command to do this, assuming the browser is sitting in /Applications/ is this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">open <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>Google\ Chrome.app <span style="color: #660033;">--args</span> <span style="color: #660033;">--incognito</span></pre></div></div>

<p>Note: <em>&#8211;args</em> has to be passed to satisfy the &#8216;open&#8217; command&#8217;s arguments first.</p>
<p><strong>Launching it from a shortcut:</strong> If you want to create a shortcut to do this, open AppleScript Editor and enter the following:</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Terminal&quot;</span>
	<span style="color: #0066ff;">activate</span>
	do <span style="color: #ff0033; font-weight: bold;">script</span> <span style="color: #009900;">&quot;open -a /Applications/Google<span style="color: #000000; font-weight: bold;">\\</span> Chrome.app --args --incognito;&quot;</span>
	delay <span style="color: #000000;">1</span>
	<span style="color: #0066ff;">quit</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></div></div>

<p>Note: The space in the <em>Google Chrome.app</em> name must be double-escaped with two backslashes like that to work. Also, without the delay I found that the script exits too quickly or something like that, and it doesn&#8217;t work.</p>
<p>Save the above script as an Application, and call it something like &#8216;Incognito&#8217;. Running this app will launch Terminal, Chrome Incognito, then exit Terminal. Bingo!</p>
<p><strong>Giving your Incognito app an Icon:</strong> I&#8217;ve added the app to my Dock, and given it a special icon (see below for a downloadable PNG icon). To do this:</p>
<ul>
<li>Open the image you want to use as the icon &#8211; it should be a 512&#215;512 24bit PNG if possible &#8211; and copy the image to the clipboard. If you are using Preview to view the image, do cmd+a to select all, then cmd+c to copy it&#8230; this works for most other graphics packages also.</li>
<li>Locate the app you created above in Finder, then press cmd+i to bring up the info window (alternatively right-click the app then select &#8216;get info&#8217;).</li>
<li>In the resulting pop-up, click on the icon at the top to highlight it like so (notice the blue halo around it):<br />
<a href="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-info1.png"><img class="alignnone size-full wp-image-126" title="Original Script Icon" src="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-info1.png" alt="Original Script Icon" width="265" height="242" /></a></li>
<li>Then use cmd+v to paste the new icon from the clopboard into the icon area and it should look like this:<br />
<a href="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-info2.png"><img class="alignnone size-full wp-image-127" title="New Incognito icon" src="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-info2.png" alt="New Incognito icon" width="265" height="242" /></a></li>
<li>Close the info window, and it&#8217;s done. You should now have a nice looking shortcut that opens Chrome Incognito with one or two clicks!</li>
</ul>
<p><a href="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-icon-512.png"><img class="alignleft size-thumbnail wp-image-122" title="chrome-incog-icon-512" src="http://myquickfix.co.uk/wp-content/uploads/2011/10/chrome-incog-icon-512-150x150.png" alt="" width="150" height="150" /></a>Feel free to use this icon. It&#8217;s just the standard one with some &#8216;colour replace&#8217; work to make it blue. You could paste some tacky sun glasses over it if you wished <img src='http://myquickfix.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/2011/10/launch-google-chrome-in-incognito-from-terminal-or-a-shortcut-in-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Launch Google Chrome in &#8216;Incognito&#8217; mode from a shortcut</title>
		<link>http://myquickfix.co.uk/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/</link>
		<comments>http://myquickfix.co.uk/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 07:05:44 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://myquickfix.co.uk/?p=108</guid>
		<description><![CDATA[Niggle: I use Google Chrome&#8217;s Incognito window mode regularly to view multiple Google Analytics accounts at the same time on one PC. It&#8217;s very useful &#8211; it means I don&#8217;t have to keep signing in and out of my primary google account &#8211; but what annoyed me each time was having to open chrome, then open [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Niggle:</strong> I use Google Chrome&#8217;s Incognito window mode regularly to view multiple Google Analytics accounts at the same time on one PC. It&#8217;s very useful &#8211; it means I don&#8217;t have to keep signing in and out of my primary google account &#8211; but what annoyed me each time was having to open chrome, then open a new &#8216;incognito&#8217; window from there, which leaves the old &#8216;normal&#8217; window open in the background.</p>
<p><strong>Solution:</strong> Since Chrome came out of beta, the &#8216;−−incognito&#8217; command line <a title="Link to Googles info about incognito mode" href="http://www.google.com/support/chrome/bin/answer.py?answer=95464&amp;topic=14661" target="_blank">switch</a> has been available.</p>
<p>So, to get this switch working with a short cut, do the following:</p>
<ul>
<li>Copy the existing Chrome shortcut in your quicklaunch bar, desktop, or start menu.</li>
<li>Rename the shortcut to something obvious, I called mine &#8220;Chrome Incognito&#8221;.</li>
<li>Right click on the shortcut, and select &#8216;properties&#8217;.</li>
<li>The Properties window opens, and you can select the &#8216;Shortcut&#8217; tab as shown below:</li>
</ul>
<div id="attachment_110" class="wp-caption alignnone" style="width: 377px"><img class="size-full wp-image-110 " title="Chrome Icon Shortcut properties" src="http://myquickfix.co.uk/wp-content/uploads/2011/10/shortcut-prop-1.jpg" alt="Chrome Icon Shortcut properties" width="367" height="509" /><p class="wp-caption-text">Chrome Icon Shortcut properties</p></div>
<div id="attachment_229">
<p>Note the &#8216;Target&#8217; path field</p>
</div>
<ul>
<li>In the &#8216;Target:&#8217; field, add the switch &#8216; −−incognito&#8217; to the end of the target path, as shown below:</li>
</ul>
<div>
<div id="attachment_111" class="wp-caption alignnone" style="width: 377px"><img class="size-full wp-image-111" title="Chrome incognito target path" src="http://myquickfix.co.uk/wp-content/uploads/2011/10/shortcut-prop-2.jpg" alt="Chrome incognito target path" width="367" height="52" /><p class="wp-caption-text">Chrome incognito target path</p></div>
</div>
<div>
<div id="attachment_228">
<p>incognito &#8216;Switch&#8217; added to target path</p>
</div>
<ul>
<li>Click &#8216;OK&#8217; to save your changes.</li>
</ul>
<p>There, all done, that shortcut will now open Chrome in incognito mode window. If you have other normal chrome windows open, they will not be effected by this window. For example, you can stay logged into a google account, a live account, or any other persistent cookie/session driven system. Incognito windows are also great for logging into online banking sites if you&#8217;re a bit paranoid.</p>
<p><strong>Note:</strong> If you have a 0.* version you will need to upgrade to v1.* or higher.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://myquickfix.co.uk/2009/01/launch-google-chrome-in-incognito-mode-from-a-shortcut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

