This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Ati ti èròjà atẹ̀lélànà asì ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

window.focus() not working for getting focus on already opened tab

  • 1 èsì
  • 1 ní ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ McCoy

more options

I have a tab.On clicking a button on that tab a new tab opens and focus is on the newly opened tab.Now again going back to first tab and clicking on the button doesn't shift my focus to the second tab.

I have a tab.On clicking a button on that tab a new tab opens and focus is on the newly opened tab.Now again going back to first tab and clicking on the button doesn't shift my focus to the second tab.

Ti ṣàtúnṣe nípa ankitkrchy

All Replies (1)

more options

Duplicate question.

Please continue in your original thread :

https://support.mozilla.org/en-US/questions/1254939