The code itself likely comes from Google, not Microsoft. You can open Chrome and go download Edge/FF, IIRC, it only shows if chrome is the default browser. At least it used to a couple of years ago.
Gmail still nags me about not using Chrome.
I don't see the issue here.