Home » Questions » Computers [ Ask a new question ]

How can I disable the Backspace button's "Go Back" functionality in Firefox?

How can I disable the Backspace button's "Go Back" functionality in Firefox?

I am editing a lot of data in a web application using Firefox, and occasionally I hit the backspace key without focusing on a field, and FireFox goes back one page, erasing all the data I entered.

Asked by: Guest | Views: 96
Total answers/comments: 2
Guest [Entry]

"Navigate to about:config in the address bar
set the filter to browser.backspace_action

It is an integer value, change it to the desired setting:

0 - Pressing Backspace will go back 1 page in session history and Shift + Backspace will navigate forward 1 page in session history.

1 - Pressing Backspace will scroll the page up in the current document and Shift + Backspace will scroll it down.

Any other positive integer (2 or more) will unmap the backspace key, which is what you want. But keep in mind, the integer data type has a limit, so don't got crazy. 2 will be fine."
Guest [Entry]

The keyconfig add-on works for me (though the Browser.backspace_action preference might be sufficient for you).