Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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 వీక్షణ
  • చివరి సమాధానమిచ్చినది QQttQ

more options

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?

ప్రత్యుత్తరాలన్నీ (2)

more options

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

more options

Hello,

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

Thanks