Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Block the 'Delete goes back' action in Firefox' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Block the 'Delete goes back' action in Firefox
Authored by: Chroder on May 14, '07 12:14:01PM

Great tip, thanks. :)

Does anyone know how to do the same for the cmd+left/right arrow keys? I use these constantly to go to the beginning/end of lines. Sometimes Firefox decides that what I really want to do is scrap everything I wrote and go back instead.



[ Reply to This | # ]
Block the 'Delete goes back' action in Firefox
Authored by: ret on May 14, '07 08:20:21PM

Ditto to that. Safari is smart enough to allow cmd-arrow to behave in a TEXTAREA or TEXT field the way you would expect (ie jump to start/end of line/doc) and to behave as keyboard short for Back/Forward when no form element has focus.

Firefox doesn't do this, and I've lost count of the number of page edits I've lost to Mambo on account of this. (Mambo doesn't play nicely with Safari, in case you're wondering the obvious question!)

So if anyone knows how to adjust this behaviour, please share.

cheers
RET

---
perl -e \'require Signature.pm; srand; printf STDOUT \"%s\\n\", $Signature[rand @Signature];\'



[ Reply to This | # ]
Block the 'Delete goes back' action in Firefox
Authored by: Deut3221 on May 15, '07 12:32:29PM

Yes, help!!!!!!

Anyone know how to disable the Command Arrow Keys? I've trashed too many text boxes to count!!



[ Reply to This | # ]
Don't loose your changes when hitting Cmd-Left in Firefox editors
Authored by: palahala on Jan 18, '09 03:03:32PM
The problem: within some editors, such as TinyMCE, Firefox (on a MacBook) will handle Cmd-Left as "go back one page" rather than "go to the start of the current line". Likewise, Cmd-Right will take you forward a page, but as in most cases there won't be a page to forward to, this often results in moving the cursor to the end of the current line after all.

To see the effect: go to http://tinymce.moxiecode.com and from that page go forward to Examples, and then forward to Documentation. Now, go back one page. Back in the Examples change some text and hit Cmd-Left while the cursor is still within the editor. Firefox will take you back yet another page, loosing any changes you made. Here Safari would set the cursor to the start of the current line. Likewise, for Cmd-Right Firefox takes you forward to Documentation, where Safari would move the cursor to the end of the current line.

The solution is simple: use the add-on "keyconfig" from http://forums.mozillazine.org/viewtopic.php?t=72994 After installing go to menu Tools, Keyconfig and choose Disable for the combination "Back: Cmd + Left Arrow". Likewise disable "Forward: Cmd + Right Arrow". That's all. To navigate use Cmd-[ and Cmd-].

As for the original hint: maybe instead of changing browser.backspace_action one could also use "keyconfig" to disable the combination "Back: Backspace".

[ Reply to This | # ]