Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

On youtube, for example, if you pause a youtube video, keyboard commands like ctrl+t or ctrl+w don't work. Is there a keyboard shortcut that will return the focus to the web browser and not the flash app?

share|improve this question
I usually just click somewhere on the page outside of the video frame. A keyboard combo would be very handy! – Andrew Lambert Apr 6 '12 at 0:22
up vote 6 down vote accepted

I do not know of a shortcut that will move focus back to the parent window, but if you alt+tab and then alt+tab back real quick, the Flash window will lose focus and you can alt+d or ctrl+t to your heart's content afterward.

share|improve this answer
HA, that works. Awesome. – user1125620 Apr 6 '12 at 2:57
it doesn't work on Windows 10 and FF – Ooker Dec 16 '15 at 15:38

Some background story: this is related to a ridiculous software patent by Eolas that actually has recently been revoked (after some 15 years of trolling) due to prior art being established.

Eolas patented plugins that automatically gained focus, which is why one has to click on e.g. Youtube controls before using them. The videos can autoplay by a technical loophole in the patent that doesn't cover a specific javascript implementation.

This is also related to why plugins can't return focus to the browser by a simple in-plugin button combination.

share|improve this answer

While the Alt+Tab method works, I recommend using autohotkey for this (and pretty much anything else). This way you can make all your hotkeys work as expected.

Here is the close tab command as an example:

$^w:: ; the $ prevents the hotkey from calling itself in line 4
Send, {Control up}
ControlClick, x1 y1085, ahk_class MozillaWindowClass,,,, Pos ; FF gain focus
send ^w ; send hotkey

Voila, easy and smooth, now you can close the tab without regaining focus. This works for ALL plugins not just Flash.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .