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

I've mapped my left/right arrow keyboard keys in Firefox to navigate back/forward in the browser history (old Opera habit).

This works perfectly except when I'm entering data into input fields. I keep using the back arrow key to navigate the input field and end up taking myself back one page.

Are there any options that will:

  1. Allow me to specifically disable shortcuts if the cursor is in the input fields? OR

  2. A specific plugin which will map these arrow keys to back/forward but will restore the default behavior on these keys when the cursor is in the input fields?

share|improve this question
Why don't you just use Alt + left/right to move back/forwards? This is standard in most browsers I've used. – Lee Taylor Dec 9 '12 at 1:17
I second Lee Taylor's answer. It seems hard coded into Firefox that backspace does not go back when in a text field. It is probably possible that an extension could be written that takes where your cursor is into context however it doesn't look like one exists. I think you're making your life a bit complicated by doing it that way. I also suggest installing this extension - - and maybe changing it to control-arrow .. which is closer than alt-arrow. It shouldn't be too different than what you're use to. – Blisk Dec 9 '12 at 4:33
Using left/right keys is just an old habit. Haven't been able to switch to Alt + left/right for some reason. Here's to hoping there's an option out there. – Anna_MediaGirl Dec 10 '12 at 22:33

You must log in to answer this question.

Browse other questions tagged .