Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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

3 Answers 3

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

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
return 

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

Your Answer

 
discard

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.