Saturday, March 20, 2010

Chrome extension to remove cookies for current site

This extension is not interested in your personal data nor tracking your activity nor invading by any means your privacy. It just does what it says.
I realized there was not a fast way to kill all cookies for the current site from Google Chrome when I first build the application at the beginning of 2010. Incredibly enough six years later I found people still using it so I decided to open source it and make it a little bit more user friendly.

As a developer I need this feature to rapidly troubleshoot sites I am working on. The name "Remove Cookies for Site" is inspired in a Firefox extension I used when my main development browser was Firefox.

You can download the extension from here. I hope you will find it useful.

The source code can be found in Github.

20 comments:

W. said...

Can´t install it. Says "package is invalid...Could not load extension icon broken-cookie48.png

Thanks!

Nestor Urquiza said...

@W. Thanks for reporting. Version 1.2 is now available? Please let me know if it works for you.

Technowledgeable said...

Great extension. I too use and love the Firefox version. BUT, could make the huge message "Cookies Removed!" optional for us? I demonstrate a website to clients and it's a little weird having the message pop up. I'd like it to be more discrete like the Firefox version. But great stuff, thanks!

Raj Parmar said...

This extension doesn't appear to provide options for nor delete all cookies for a particular domain. When I "Deleted all cookies" when on ebay, it had only deleted cookies from the main "www" subdomain of the site and not the ones created for the other subdomains.

Nestor Urquiza said...

@Raj you are correct. The extension only delete cookies for the current domain. I should have renamed the extension like that actually "remove cookies for the current domain"

In specific when you navigate ebay you get these cookies:
.ebay.com 7
.ebayrtm.com 1
.main.ebayrtm.com 2

The only one that will be deleted by this extension will be the first one. How could I know what else should I delete? You will understand that will need human intervention.

For a human-intervention delete cookies add-on you can use the Cookie API Test Extension instead.

antonmos said...

Thanks for a very useful extension!
However, it appears to not do anything when working with a site on a non standard port, e.g. http://test.local:7557

Please fix!

Nestor Urquiza said...

@Technowledgeable and @atonmos Thanks for reporting. I have now corrected those issues.

Ben said...

Very useful, thanks!

river b said...

I can't install it, says "Download was not a CRX".

Nestor Urquiza said...

@river_b what is your OS and chrome version? I just tried in Linux and OSX and it worked with latest chrome version.

mickeyj4j said...

I just want to say wow this is a great extension. I have 2 things.
first does this also clean cache of the website.
second. it would be nice to have some conformation that the cookies have been cleared

Anonymous said...

Great tool when developing. Thanks.

Ryan said...

I just wanted to say that this plugin is awesome! I use it all the time!

Unknown said...

Great plugin. It's exactly what I wanted, a one click website cookie cleaner located in the toolbar. :-)

SakuyasLove said...

I have installed it but when I go to click it it doesnt click. I dont get the empression other extension buttons give me to show it was clicked and no cookies are deleted.

I am in the latest version of chrome (Version 41.0.2272.101 m)

I would love it if this extension worked, I too do a lot of testing that requires this.

Thanks :)

SakuyasLove said...

Follow up post. Sorry, it seems to be deleting cookies how it should. There was a separate issue on my end and the fact that it doesn't press in threw me off. Thanks for the great extension!

Nestor Urquiza said...

@SakuyasLove Glad it is still useful ;-)

Lavalampan said...

Hi, just downloaded this plugin but I'm not able to click the icon. Nothing happens :/

Nestor Urquiza said...

@Lavalampan 1. Login in a website, 2. Hit the icon, 3. try to use the website, you should be logged off. The reason why there is no feedback is that in the past someone suggested I should just remove the message that use to pop up. Cheers, - Nestor

Not so Mobile said...

"The reason why there is no feedback is that in the past someone suggested I should just remove the message that use to pop up"

Then put it back as an option ?

Followers