Good information, but you can already turn this off via the (quite hidden, I admit) setting that is mentioned in the article. That's a better way to turn this off completely, rather than patch it via a visual rule.
Brave browser does not have an option to turn it off but uBlock Origin custom filter works.
In the Brave community the only solution offered was an adblock filter:
brave://adblock (custom filter) ||accounts.google.com/gsi/client$script,third-party
Either way it's something you'd need to go out of your way to configure any time you interact with a new web browser. And both ways can be disabled randomly (Chrome settings changes during browser updates, or uBlock extension being deprecated).
That does not completely turn off the federated sign-in popup you see on the top right in various websites. The solution is actually already mentioned in the article.
For NYC specifically I've been burned many times by Citymapper. It is trying to be clever and parse the messages about service changes, but does it all wrong and in the end gives you wrong directions, leaving you stranded. Sometimes it doesn't show the alerts by MTA at all.
Now that the MTA app is so good and has achieved feature parity with Citymapper, I prefer that for 90% of the time. It doesn't have multi-modal (eg subway + citibike) and doesn't show estimates of uber/lyft prices, but those have not been very useful in my experience.
Citymapper is still ok to quickly check upcoming train or bus departures.