Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
What 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 Jun 24 '11 at 22:06

3 Answers 3

up vote 2 down vote accepted

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.)

share|improve this answer

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

share|improve this answer
    
What 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 Jun 25 '11 at 4:07

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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