Closed Bug 208840 Opened 22 years ago Closed 21 years ago

Disabling Backspace==Back in history. platformHTMLBindings.xml method dead?

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: xterm, Assigned: aaronlev)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 Up until the latest nightlies, if I wanted to disable the fact backspace = page back (on windows), I was instructed to change some lines of code in mozilla\res\builtin\platformHTMLBindings.xml to remove the event handler. However, in the latest nightly, this handler doesn't exist in the that file, therefore, I can't change it. I have tried to copy the working handler, which disables this feature, to the new file, in the correct location, but it doesn't change. What is the new way to do this? Reproducible: Always Steps to Reproduce: 1. Visit a link. 2. Press backspace. Actual Results: The browser returned to the previous page. Expected Results: Nothing.
What's just as bad, is if you're on a Linux platform, beginning at Firebird 0.61 you are unable to ENABLE the backspace==>cmdBrowserBack behavior by adding the appropriate mapping to this file. It worked fine in .6, but as of .61 (and now .7) it no longer works. I don't mind too much if the default behavior is different, but why, pray tell, would it have been changed to prevent maping it that way if I happen to WANT it?
Here's a workound that should at least let you block backspace for now. http://forums.mozillazine.org/viewtopic.php?t=62742
This is not a bug.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.