What are cookies, and why are Google, Mozilla, and others going to war against them?

Not all cookies are bad. Unrelated: is anyone else hungry?
a bowl of chocolate chip cookies on a bed of whole coffee beans and ground coffee
The cookies on your computer don't look like this. Unless you're looking at this on a computer. Then there are cookies on your computer that look like this. But this story isn't about these types of cookies. Alex via Unsplash

Share

Dive into your web browser’s settings and you’ll see references to cookies—little bits of data that have been around almost as long as browser apps themselves. Now, browsers are going to war against them, and it’s going to affect you.

Earlier this year, Google announced it wants to block certain cookies on Chrome, but it’s not the first—Mozilla and Apple have spent years tightening the rules around how Firefox and Safari, respectively, handle cookies.

If you’re wondering why this is happening, or even what cookies are in the first place, let’s start with a basic definition: Cookies are small files that websites leave on your computer, phone, tablet, and other digital devices whenever you visit. When you load up a website, the page checks to see if it’s ever left a cookie with you.

That’s useful for a variety of reasons. For one, it tells the site whether you’ve visited before, so you might not get the same “subscribe to our newsletter” or “claim this discount code” alert you did when you landed there for the first time.

Cookies can also hold data about your location, so you’ll see news reports or weather forecasts centered on your area without having to specifically tell the site where you live every time you open it up. They may further help out by saving the details of how you’ve set up a site’s layout so it looks exactly how you left it.

If you’ve provided a site with personal details such as your email address and phone number, those might be stored in cookies, too, along with details about what you’ve looked at in the past on a particular webpage.

This might be ringing some privacy alarm bells in your head, but cookies are really just local copies of information these sites have anyway. You can’t use Facebook without providing your email address, and Amazon wouldn’t work well if the site couldn’t see the products you’re looking at—cookies are just an extension of all that.

At their best, cookies should make your online life easier and more convenient, but if you want to see what navigating the web is like without them, try opening a private or incognito browser window. Doing so will block access to any cookies currently on your device, so sites won’t know who you are and nothing will be personalized. You’ll also need to log in everywhere you go. Using the web without cookies is a bit like going online on a brand new computer.

But cookies can be used to build a picture of who you are and what you do online, which is why browsers are tightening the rules about what they’re allowed to do. Under particular threat are third-party cookies—these are usually embedded in advertisements and can track you across multiple sites, not just one.

Ordinarily, a site can only access the cookies it has created itself—Facebook can’t look at your Amazon cookies, for example. However, third-party cookies (often served up by advertisers or data brokers) can do some cross-site tracking. That means marketing organizations might be able to connect the dots between, say, your online shopping habits and your social media activities.

Safari and Firefox block third-party cookies by default, but you can choose to allow them if you want. For now, at least, it’s the opposite in Chrome: The browser automatically allows third-party cookies, though you can choose to block them in the browser settings. It’s not yet clear how Google’s cookie-blocking plan will affect this, if at all, but you may see some changes down the road.

You can choose to block all cookies, including third-party ones, but you won’t get the smooth, streamlined web browsing experience you’re used to. In Chrome, find the relevant options by going to Advanced > Site settings > Cookies and site data on the settings page. Firefox users can access them under Privacy & Security on its settings page, Safari-ers should head to Privacy on the settings dialog, and anyone on Microsoft Edge must navigate to Privacy and services in the settings.

From the same settings screens, these browsers will also let you set up lists of specific sites on which you’ve either blocked or allowed cookies—doing so can be useful if there are some pages you trust with your data and others that you don’t.

Despite Google’s January announcement that it will permanently ban all third-party cookies in Chrome, its intention is not to put an end to targeted advertising. After all, its empire is built on ad-tracking. Instead, it appears to be trying to make online privacy practices more transparent and easier for users to understand—if ad tracking is clearer, the thinking goes, it’ll be easier for users to manage their privacy preferences and protect themselves against surreptitious tracking.

What exactly that will look like remains to be seen, but the move could take away some of the mystery and underhandedness surrounding cookie tracking, while still allowing sites to make money through advertising.

In the meantime, you know where the cookie control settings are in your browser. From the same settings pages we’ve already mentioned, you can also clear all stored cookies from your computer, giving you a clean slate in terms of locally saved data (though advertisers will keep the information they have on you).

 

Win the Holidays with PopSci's Gift Guides

Shopping for, well, anyone? The PopSci team’s holiday gift recommendations mean you’ll never need to buy another last-minute gift card.