Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Quite frequently I experience cases, where the +L shortcut will not work in Chrome.

This shortcut does the same in Safari, Chrome and Firefox. It jumps to the URL bar of the browser.

How can I troubleshoot this problem?

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

Several postings on the Chromium issue tracker, such as this one and this one, suggest that this is because some plugins (such as Flash) are consuming the keystrokes whilst running. Does this happen whilst Flash is running, or can you pinpoint an occasion when it always happens if a certain plugin is loaded?

share|improve this answer
    
Thanks! I assume you're right. The websites that I've experienced this problem with were using flash to display content. Is it possible to not make Chrome's flash consume the keystrokes? –  gentmatt Feb 22 '12 at 8:04
    
Not sure, I'm afraid. It looks as though that's expected behaviour. If the plugins, like Flash, get first look at keystrokes they can presumably decide to consume or ignore. If Chromium were to fix it (so that Chrome itself got first look) then this might alter the behaviour of plugins that expected it, or they might never get certain keystrokes at all. The first link I posted has some discussion on what the "correct" course of action might be. –  binarybob Feb 22 '12 at 8:20
add comment

Using something like fastscripts, override the shortcut of your liking.

An app like fastscripts listens globally (overrides both flash and chrome) but will act locally. It will do exactly what you want in this case.

tell application "Google Chrome"
    activate
end tell

tell application "System Events"
    tell process "Google Chrome"
        tell menu bar 1
            tell menu bar item "File"
                tell menu "File"
                    click menu item "Open Location…"
                end tell
            end tell
        end tell
    end tell
end tell
share|improve this answer
add comment

Use Tab or Shift-Tab to deselect (exit) the Flash element. Once exited, the element should no longer capture your key-presses, so -L should work again!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.