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

277
Views
Cómo evitar ventanas múltiples con URL https://twitter.com/i/oauth2/authorize

Estoy abriendo una nueva ventana con la URL https://twitter.com/i/oauth2/authorize?scope=tweet.read%20users.read%20follows.read%20follows.write&state=state&client_id=clientID&response_type=code&code_challenge=789089&code_challenge_method=plain&redirect_uri =http://localhost:4200/aplicación/devolución de llamada

Pero, cuando la URL se carga en una nueva ventana, la propiedad popupWindow.closed se establece en verdadero. Por lo tanto, se abren múltiples ventanas al hacer clic en el botón. Esto no pasa con la url oauth de linkedin

 if (this.popupWindow == null || this.popupWindow.closed) { this.popupWindow = window.open( `${authUrl}?${params}`, 'twitter', `menubar=no,location=no,resizable=no,scrollbars=no,status=no,toolbar=no, width=${width},height=${height},top=${top},left=${left}` ); } else { this.popupWindow.focus(); }

¿Cómo evito que se abran varias ventanas?

about 4 years ago · Juan Pablo Isaza
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!