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

how to stop javascript alert popups from stealing tab focus?

  • 2 பதிலளிப்புகள்
  • 5 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by QQttQ

I have two gmail accounts, and usually a lot of tabs open. So sometimes I log into my other gmail account while a tab somewhere else still is logged in to my other. Sooner or later, the gmail with the old login session notices this, and makes a little alert() popup telling me I've been logged out, a couple minutes after I checked my emails on the other account.

Now the problem is, that firefox because of this alert() popup instantly jumps to that tab, and I lose my place in my tab-jungle. This is very annoying. How do I prevent this inactive tab from stealing my focus/alert messages autofocusing tabs?

I have two gmail accounts, and usually a lot of tabs open. So sometimes I log into my other gmail account while a tab somewhere else still is logged in to my other. Sooner or later, the gmail with the old login session notices this, and makes a little alert() popup telling me I've been logged out, a couple minutes after I checked my emails on the other account. Now the problem is, that firefox because of this alert() popup instantly jumps to that tab, and I lose my place in my tab-jungle. This is very annoying. How do I prevent this inactive tab from stealing my focus/alert messages autofocusing tabs?

All Replies (2)

You can set up Gmail to have multiple account open at the same time.

Hello,

Yes I know, but I don't want to do this. Is there any way to stop firefox from behaving this way?

Thanks