Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Mulongo oyo ekangemaki mpe etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi
Locked Eza archivé

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

ankitkrchy

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.

Ezalaki modifié na ankitkrchy

All Replies (1)

Duplicate question.

Please continue in your original thread :

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