Self-Destructing Cookies :: Add-ons for Firefoxhttps://addons.mozilla.org/en-US/firefox/addon/self-destructing-cookies/
Fix the web. Gets rid of a site's cookies and LocalStorage as soon as you close its tabs. Protects against trackers and zombie-cookies. Trustworthy services can be whitelisted.