How can I delete the old cookies in Chrome?

13

In Google Chrome, there's only an option to delete the newest cookies. I want to delete the oldest ones. How can I do that?

Linksku

Posted 2011-06-24T18:04:34.313

Reputation: 167

3What I meant is that I want to keep the new cookies, but not the old ones. I have cookies from a year ago, I want to only delete those. – Linksku – 2011-06-24T22:06:01.573

Answers

2

You might want to look for cookie manager software. You want one that will let you sort the cookies by creation date or modified date. Then you can just select all the cookies past a certain date and delete them.

For example, NirSoft ChromeCookiesView looks like it has those features.

(I have used the NirSoft IECookiesView and liked it. The Chrome one should be similar.)

Bavi_H

Posted 2011-06-24T18:04:34.313

Reputation: 6 137

3

I do not believe you can delete history easily without deleting the time since that period. See the link for a explanation of how Chrome stores cookies maybe you can go through the directories and delete the time period you want.

From www.catonmat.net:

Google Chrome

Chrome stores history, cookies, cache and bookmarks in various databases and directories in the per-user application data directory at C:\Users>>>\AppData\Local\Google\Chrome\User Data. The easiest way to get rid of all this data is just to erase everything there. Chrome creates this directory anew if it finds it missing.

@echo off

set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data

del /q /s /f "%ChromeDir%"
rd /s /q "%ChromeDir%"

This simple batch script first deletes all files in %ChromeDir% directory via del command and then deletes the directory itself via rd command. The /q flag makes the del command quiet, the /s makes it delete files from all subdirectories, and /f forces it to delete read-only files, too. The /s flag to rd makes it delete all subdirectories and /q makes rd quiet.

N4TKD

Posted 2011-06-24T18:04:34.313

Reputation: 979

1

To delete all cookies in Google Chrome:

Click the Wrench on the top left.
Go to Under the Hood.
Click Clear Browsing Data.

Select one of the following options:

enter image description here

enter image description here


In response to the comment from the OP, there is no way to remove cookies by date. Although you can remove them by site.

And if you must delete them by date, you can open each individual cookie and check the date it was created.

Open up Content Settings

enter image description here

Open All cookies and data

enter image description here

Open up any website and open the individual cookie and do what you want with it.

enter image description here

paradd0x

Posted 2011-06-24T18:04:34.313

Reputation: 7 771

5What I meant is that I want to keep the new cookies, but not the old ones. I have cookies from a year ago, I want to only delete those. – Linksku – 2011-06-25T04:07:27.227