It's like a horror movie ghost giving you a jump-scare each time you open a website. Google somehow thinks it'd be a great idea to take away focus from whatever we are doing, and present us with the most annoying thing on the internet: The Popup!
Thankfully, it's possible to get rid of this.
On Firefox:
1. Install the Adguard extension.
2. Enable Adguard to run even in private tabs (if you use private tabs).
3. In Adguard's preferences, select "Filters" and then enable the "Annoyances" toggle button.
4. Now click on the "Annoyances" section to view all the annoyances that are to be blocked, and enable any of the annoyances you want to get rid of (for example, the "AdGuard Popups filter").
When using Firefox on your mobile phone, you can use just the uBlockOrigin addon, and in the addon's settings, activate filters for uBlockOrigin annoyances and AdGuard annoyances. Both need to be on.
Some details on using uBlockOrigin instead, are given here.
Simply add this in uBlockOrigin's "My filters":
||accounts.google.com/gsi/iframe/select$subdocument
On Google Chrome:
This of course works only if you are signed in. Direct link.
1. Go to "My Account" : "Security" ( https://myaccount.google.com/security ).
2. Click on "See all connections" link in "Your connections to third party apps & services".
3. Click on the gear at the top of the "Third party apps & services" page.
4. Disable the "Signing in with Google" prompt.
That's it. Enjoy your popup-free browsing! Some other people have given the same solutions here and here too.