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

How can I stop websites from overriding the keyboard shortcuts in Firefox?

e.g., if you go to Youtube, Ctrl+T no longer opens a new tab, etc.

It there a plug-in that will do that for me?

share|improve this question
On YouTube, this is indeed caused by the Flash plugin. But in general, keyboard shortcuts can also be overwritten with javascript, see… – Martin J.H. Nov 5 '13 at 21:26
up vote 9 down vote accepted

This is a focus issue....when you click on the flash player, focus is transferred from the browser window to the flash plugin.

This is a page on IBM's website with describes a method of creating a firefox extension that prevents hotkeys from being captured by flash here

Unfortunately, I'm unsure how effective this solution will be. I've seen on various forums people saying that there is no real way to prevent a plugin from grabbing the keyboard completely because of how mozilla handles plugins, and I haven't been inconvenienced enough to try to use the code I mentioned above.

It looks like the most convenient workaround would be MicTech's solution of clicking anywhere except the animation, and then proceeding with the shortcuts.

share|improve this answer
In this case, I notice that if I click outside of the video frame then my keyboard short cuts work again. An extra click will solve my problem for now. Thanks. – BIBD Jul 20 '09 at 1:14
This behaviour might be changing soon: – Martin J.H. Nov 5 '13 at 21:23

I think, this is problem with Flash.

If you click on video player on youtube, then short-cuts stop working, but if you click outside video player, then short-cuts start working.

I have same problem, too.

share|improve this answer

If this isn't a flash issue as mentioned by MicTech, then it may be a JavaScript issue. I use NoScript, which disables JavaScript on a whitelist basis, so you can allow sites to use JavaScript if you a) trust them and b) require the javascript functionality while there.

share|improve this answer
+! - I've used that trick before. But some sites is use do require JS. Now, if I can find something that will selectively block the JS hotkey interceptors as well. – BIBD Jul 20 '09 at 1:15

You must log in to answer this question.

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