본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Can't remove focus from address bar using Esc key.

  • 4 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: lazywei

more options

Before upgrading to the new Firefox, if the focus (i.e. the cursor) was on the address bar (aka the search bar), then pressing the Esc key would remove focus. However, after upgrading, once focus is put on the address bar, pressing Esc doesn't seem to do a thing, and I can't get out of editting the address bar unless I click the webpage with my mouse.

Is this a problem with my browser, or is that the way it is now? Could you possibly make it so pressing Esc removes focus from the address bar again?

Before upgrading to the new Firefox, if the focus (i.e. the cursor) was on the address bar (aka the search bar), then pressing the Esc key would remove focus. However, after upgrading, once focus is put on the address bar, pressing Esc doesn't seem to do a thing, and I can't get out of editting the address bar unless I click the webpage with my mouse. Is this a problem with my browser, or is that the way it is now? Could you possibly make it so pressing Esc removes focus from the address bar again?

모든 댓글 (4)

more options

If there's something in about:config I can edit to fix this behavior, that would also be great.

more options

Aren't you confused with the F6 key to switch the focus between the location/address bar and the website area?

Maybe you had an extension that worked this way, but AFAIK then ESC doesn't affect the focus, it merely restored modification you made (undo action.

more options

That's odd.... I don't think any of my extensions would've done that, but it's fine. F6 works fine.

Would you happen to know if there's any way to make ESC remove focus from the address bar though? Or in other words, make Esc work just as well as F6.

more options

If you are using macOS, you would probably like to try out Karabiner https://pqrs.org/osx/karabiner/. It can help you remap keys: specifically, remap keys in certain App, e.g. Firefox.

So for me, I solve this by map CMD+L to F6 in Firefox (if you want, I believe you can map Esc to F6). As a result, I can press CMD+L to focus the address bar and then press it again to de-focus. I hope it helpful.

For what it worth, here is the snippet I use to bind the keymap:

   
   <autogen>
     __KeyToKey__
     KeyCode::L, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND,
     KeyCode::F6
   </autogen>