Firefox containers to the rescue.

I've been using Mozilla's extension[0] that contains everything Facebook-related automatically with Firefox containers and it's been working great.

This morning I looked for a similar extension for Google and I've found this fork[1] of Mozilla's extension. It's working as expected so far but I'd love for it to be officially maintained by Mozilla at some point. There is an open issue about it[2].

[0] https://github.com/mozilla/contain-facebook

[1] https://github.com/containers-everywhere/contain-google

[2] https://github.com/mozilla/contain-facebook/issues/758