Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a website that I use for school, and it has a javascript function on it that pops up a window on the site after a certain period of inactivity to warn you that you'll be logged out. When this triggers and the tab is open in the background, it automatically switches to that tab even when I'm actively doing something on another tab.

Can I set it so that it just does its thing without having to forcefully yank me back to that window?

Using Firefox 16 on Windows 7. It also does it on my Windows 8 laptop.

share|improve this question
Can you check Tools->Options->Content->Click Advanced next to Enable Javascript. Is "Raise or lower windows" unchecked? If not uncheck it. – amit_g Dec 3 '12 at 23:28
Also do you know if the new tab contains any flash (it could be hidden flash). – amit_g Dec 3 '12 at 23:29
@amit_g "Raise Windows" was not checked... but as for the Flash question, I don't know. Adblock Lite doesn't show any swf blockable items – agent154 Dec 4 '12 at 2:53

This behavior existed for over 10 years in Firefox but was fixed in Firefox 44. The problem occurred whenever a Javascript alert() was fired on another tab. The alert() on the other tab would automatically steal the focus from the current tab.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.