Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

236
Views
Safari Mobile: todavía se me solicita que bloquee la ventana emergente a pesar de configurar la ventana emergente de bloqueo en falso

En mi navegador Safari en el iPhone 11, tengo desactivado el "bloqueo de ventanas emergentes". Sin embargo, con la siguiente línea de código angular, todavía recibo un mensaje emergente:

This site is attempting to open pop-up window

Aquí está la línea de código que estoy usando al hacer clic:

this.service1.url(this.Method1()).subscribe( response => { window.open('www.google.com', '_blank');} );

¿Qué me estoy perdiendo, o hay una solución?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Esto podría estar ocurriendo si la apertura de la nueva pestaña no es el resultado de un evento iniciado por el usuario o si hay un retraso async después del evento del usuario.

Detalles de JavaScript.info

 // Most browsers block popups if they are called outside of user-triggered event handlers like onclick. // For example: // popup blocked window.open('https://javascript.info'); // popup allowed button.onclick = () => { window.open('https://javascript.info'); }; // This way users are somewhat protected from unwanted popups, but the functionality is not disabled totally.
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!