Control your cookies!
What is AutoDeleteCookie?
AutoDeleteCookie is a Firefox add-on that allows you to control your cookies. It is a modified version of the Cookie AutoDelete extension, deleting all cookies, including cookies from other tabs or sites, whenever a tab is closed.
This is a modified version of the Firefox extension Cookie AutoDelete (https://github.com/Cookie-AutoDelete/Cookie-AutoDelete). The only difference between the two extension is, AutoDeleteCookie will delete all cookies ,including cookies of other tabs or sites (Localstorage will also be deleted if you set including Localstorage as well) every time you close a tab, while the original Cookie AutoDelete will check if there is opened tabs belonging to the same domain as the closed tab before deleting cookies releted to the closed tab (Localstorage will also be deleted if you set including Localstorage as well).
AutoDeleteCookie is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install AutoDeleteCookie if you trust the publisher.
AutoDeleteCookie has earned a fairly good reputation and likely can be trusted.