HOWTO Prevent YouTube from Tracking your GMail Credentials

Updated 21 Jul 2012 to correct the cookie pattern syntax for Chrome.

I have recently noticed that when I visit a page on youtube, the top-right corner shows that I am logged in by my email address. Because I use Google Apps for Business (neé Google Apps for Domains) to manage my email, and because Google recently insisted I merge all of my Google accounts, I also see a banner at the top of the page warning “This account is managed by jclark.org” with a link for more info.

What this means is that Google can track all of the videos I watch on YouTube and associate them with my GMail account. And I expect that goes for YouTube viedos embedded on other sites as well Because I value my privacy, I don’t want that behavior; that’s the primary reason I have never signed up for a YouTube account. Logging out of YouTube has an undesirable side-effect: I am immediately logged out GMail and Google Reader as well. One solution is to use separate browsers, however, I prefer to run a single browser for efficiency, and viewing any page with an embedded YouTube video in my GMail browser would tack me, even if I then use another browser to view it.

I have found a simple solution: do not allow youtube.com to receive or store cookies on my browser. This also required removing any existing youtube.com cookies already stored by the browser. This has the side effect that I cannot log in to YouTube at all, however, that is acceptable to me since I don’t have, and do not want, a YouTube account.

Here are the steps I took in Chrome:

  1. Close any open youtube.com pages.
  2. Using the wrench icon, open Preferences
  3. In the “Under the Hood” tab, in the Privacy section, click “Content Settings…”
  4. Under Cookies, the current setting should say “Allow local data to be set (recommended),” or possibly “Allow local data to be set for the current session only”. If you have another setting, you probably already take a more active role in managing your cookies, and should not need these directions.
  5. Under Cookies, click “Manage Exceptions…”
  6. Under “Hostname Pattern” type “[*.]youtube.com” (no quotes) and change the Behavior dropdown to “Block”. Close the dialog.
  7. You are returned to “Content Settings”; under Cookies click “All Cookies and Site Data…”
  8. In the search box, type “youtube” (no quotes). The list of sites’ cookies will be filtered to URLs containing “youtube”; in my case, it was all URLs ending in youtube.com. Click “Remove All”.
  9. Close preferences. Browse to YouTube, you should now see a “Sign In” link in the upper right corner. Confirm that you are still logged in to GMail.
  10. Profit! Well, a little more Privacy, at any rate.

Inspiration

If you can watch this without being inspired to do something, well, I feel terrible for you.

More Please:

Hamburger Assistant

Like the idea of Hamburger Helper but don’t like the smarmy little glove? Need a quick dinner? Try this.

Ingredients
1 lb. Ground Beef
2 packages Beef flavored Ramen Noodles

Cook the ground beef about 3/4 done and drain the fat off. Add seasoning packet from one of the Ramen packages and continue to cook. Meanwhile, boil the noodles from both packages together (no seasoning) for two minutes and drain well. Mix the noodles with the cooked beef, and add remaining seasoning packet to taste. At least a half packet, you may want the whole thing.

This has always been my go-to dish when I’m Mr. Mom. The kids love it, and so do I. At $0.20 plus a pound of beef, it’s a lot cheaper than the glove too.

Missing Comments

If you have commented on a post in the last few months, and it never appeared – it should now be present (unless it was spam, of course). I just discovered a number of comments awaiting moderation; I don’t seem to have been getting the notification e-mails. I’m trying to figure out why; in the interim, I’ll try to keep an eye on the moderation queue.

My Television Debut

Those of you who could pick me out of a lineup may catch a glimpse of me tonight, if you watch the Phillies’ Season Opener against the Braves, at 8pm on ESPN2. Whether you know me or not, tune in – baseball is back! It should be a great game. Go Phills!