搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Ctrl L keyboard shortcut has stopped working

  • 9 回覆
  • 25 有這個問題
  • 8 次檢視
  • 最近回覆由 cor-el

more options

For some reason, the Ctrl+L keyboard shortcut to focus on the location bar has stopped working in Firefox. I'm running version 38.0. Have tried restarting Firefox in safe mode with all extensions disabled and it still did not work. The alternative shortcut, Alt+D, does work.

Any ideas??

For some reason, the Ctrl+L keyboard shortcut to focus on the location bar has stopped working in Firefox. I'm running version 38.0. Have tried restarting Firefox in safe mode with all extensions disabled and it still did not work. The alternative shortcut, Alt+D, does work. Any ideas??

所有回覆 (9)

more options

No ideas. {Ctrl + L} is still working for me on 38.0 Beta 01 on my WinXP box.

more options

Did you try a new profile?


Other issue:

Note that your System Details List shows multiple Flash plugins (most recent is 17.0.0.134). Shockwave Flash 16.0 r0 Shockwave Flash 13.0 r0 Shockwave Flash 12.0 r0 Shockwave Flash 11.8 r800 You can find the installation path of all plugins on the about:plugins page.

You can check the Flash player installation folder for multiple Flash player plugins and remove older version(s) of the plugin (NPSWF32) and possibly (re)install the latest Flash player.

  • (32 bit Windows) C:\Windows\System32\Macromed\Flash\
  • (64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

See this about uninstalling Flash players:

Note that this will remove all installed Flash players.

You can find the latest Flash player versions for Firefox on this page:

more options

Thanks, will try a new profile allthough I would hate to have to ditch all my stuff.

Thanks for pointing out about the flash players. I'll have to look into that.

more options

I just tried Ctrl+L in a new profile (with my Firefox 38.0 installation) and it still doesn't work.

Very strange. I'm well aware a new profile usually fixes just about anything.

more options

You do use an en-US version?

Try a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.

If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.

  • Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.

Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.

  • (32 bit Windows) "C:\Program Files\Mozilla Firefox\"
  • (64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"

Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.


more options

I can add that I have the exact same problem on all my computers running Firefox, and since it's such a diverse plethora of computers with Firefox I find it hard to believe that the profile is damaged in any way.

All of them run FF 37 or higher. It's two Macs with different Mac OS versions, one Fedora 20 laptop, one Ubuntu 14.04 desktop and one Windows 7 laptop.

The Windows 7 laptop isn't even mine, it's a friends, so it is completely unrelated to my Sync profile.

These computers all have one thing in common, FF 37 and Swedish locale, and ctrl+k works while ctrl+l does not.

I also just now tried a co-workers Windows 7/FF37, another computer unrelated to me in any way, and sure enough he has the same issue with using Ctrl+L. Obviously this is a bug.

由 swehack 於 修改

more options

Very interesting! I also have this issue on several different PC:s, with synced Firefox profiles. All using the Swedish locale! (And Ctrl+K works for me to.)

more options

Maybe you can check these shortcut keys in the DOM Inspector.


Open the browser window in the DOM Inspector.

  • File > Inspect Chrome Document.
  • Choose the first entry from the drop-down list.

You can expand entries in the DOM tree when necessary to open collapsed items. Scroll down to keyset with ID mainKeyset and expand this entry. Look for key with ID focusURLBar and focusURLBar2 and check what key and modifier are specified.

more options

I check the browser .dtd file of the sv-SE Swedish language pack and see this error:

sv-SE:

<!ENTITY openCmd.commandkey           "I">
<!ENTITY urlbar.placeholder2          "Sök eller ange adress">
<!ENTITY urlbar.accesskey             "d">
<!ENTITY urlbar.switchToTab.label     "Växla till fliken:">

en-US:

<!ENTITY openCmd.commandkey           "l">
<!ENTITY urlbar.placeholder2          "Search or enter address">
<!ENTITY urlbar.accesskey             "d">
<!ENTITY urlbar.switchToTab.label     "Switch to tab:">

A possible solution for now is to install the en-US Firefox version and the sv-SE language pack and edit the browser.dtd file and change the openCmd.commandkey item to "l".

  • sv-SE.xpi/browser/chrome/sv-SE/locale/browser/browser.dtd

There is already a bug filed for this issue:

  • bug 1141990 - [sv-SE] Ctrl+I / Cmd+I defined as location bar keyboard shortcut in Swedish locale, instead of Ctrl+L / Cmd+L