I'm paranoid enough that I'd like to use two-factor authentication for my Google account and automatically sign out of Google on browser close. But I'm not paranoid enough to use two-factor authentication on my own personal computer.
I don't know of any way to satisfy both of these desires simultaneously. As far as I know, automatically signing out of Google requires clearing Google's cookies on browser close, but having Google's 2FA trust my personal computer requires saving Google's cookies across browser sessions.
Is there anyway to automatically sign out of Google on browser close while retaining Google's cookies (at least, the ones that tell Google's 2FA to trust my computer)?
I'm using Firefox 65.0 on Ubuntu 18.04.1, but I don't how to do this on any browser or OS.