Here's one implementation: https://browserleaks.com/social#protection
and https://robinlinus.github.io/socialmedia-leak/
Click the explanation & protection sections for info on how it works
Click the explanation & protection sections for info on how it works
I think this also assumes you are not using any kind of isolation for your tabs. What I don't understand though, is how it could figure out that I am logged into google even though I have third-party cookies disabled.