Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

239
Vistas
Hide auto pop up for google login api javascript

I used new Google login using new JavaScript API , I have problem that the when the page reloaded popup shown for login by google for login google accounts, I tried to find a way from the documentation but no result.

Is there a way to prevent the popup from shown?

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Absolutely ! I had the same issue a while back. Here you can see the structure of the Javascript API. Remove the google.accounts.id.prompt(); line. Below is the complete initialization code for this.

window.onload = function () {
google.accounts.id.initialize({
  client_id: 'YOUR_GOOGLE_CLIENT_ID',
  callback: handleCredentialResponse
});
// remove this line
google.accounts.id.prompt();
};

For the sign in or sign up with google btn only the accounts.id.initialize is required.

Take a look at this documentation for further customization

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda