Is there a way to remove all cookies, on shutdown, of any websites not pinned? Manually adding websites to the exception list isn't straightforward since some websites saves multiple cookies from different domains.
I'm looking for a solution for either Chrome/Chromium or Firefox.