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

This thread was closed and archived. Please ask a new question if you need help.

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

  • 1 reply
  • 1 has this problem
  • 10 views
  • Last reply by 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.

Modified by ankitkrchy

All Replies (1)

more options

Duplicate question.

Please continue in your original thread :

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