Auto-Delete Cookies in Firefox with Self-Destructing Cookies

Cookies are special data files stored by different websites in your web browser. The cookies are very useful when used for legitimate purposes like storing your login credentials so that you do not have to enter them again and again. But some of the websites use cookies to track your web browsing or internet usage details. These tracking cookies can expose your personal internet using behavior to these websites and therefore pose a privacy threat. You can yourself delete these cookies manually, but they would re-appear as soon as you visit those sites and would stay there keeping a track of your online activities. If you are a Firefox user, then you can use the Self-Destructing Cookies extension to automatically erase the cookies when you are not using the sites that stored them in your web browser.

You can install the Self-Destructing Cookies extension from the Mozilla Firefox extensions repository website. The extension is a no-restart extension and therefore it starts working without your having to re-start the browser.

After the installation, you would see a small red icon in the add-ons bar of Firefox web browser. If the add-ons toolbar is not visible, then you can use the hotkey Ctrl + / to make it visible. Immediately after the installation, it scans the cookies stored in Firefox, removes the ones not currently in use and a message is shown to the effect.

Self-Destructing Cookies

If you do not want it to automatically remove the cookies for any not-in-use website, then you can visit that website and then click on the Self-Destructing Cookies extension icon in the add-ons toolbar. A popup box would show up from where you can control when to delete the cookies or whether never to delete the cookies for that website.

Self-Destructing Cookies

From the same popup box, you can also temporarily suspend the Self-Destructing Cookies extension operation or undelete all the cookies and then suspend it. Any time later, you can click on this add-ons toolbar icon again and choose to Resume the operation for the Self-Destructing Cookies extension.

Self-Destructing Cookies

In the options for the Self-Destructing Cookies extension, you can choose the timeout grace value after which a website is considered inactive. By default the grace value is 10 seconds after which the unused cookies are removed. You can also select to have an Undo option enabled so that you can restore any cookies deleted by the Self-Destructing Cookies extension. In the settings, you can also edit a whitelist of sites which stay unaffected by this extension.

Conclusion: The Self-Destructing Cookies extension for Firefox automatically removes cookies that are not in use currently. This helps you from being tracked or hacked through your stored cookies.

You can get the Self-Destructing Cookies extension from

Update: Newer Firefox Quantum versions does not support the original Self-Destructing Cookie extension. But a similar extension Self-Destructing Cookies (WebEx) is available:

One comment

  1. Facebook, i mean Google, i mean Apple, i mean Mozilla has removed SDC from their Add-Ons, telling users what they can and can’t use, just like those other companies, so your link is broken.

    can you update to share your version?


Comments are closed.