32

This question already has an answer here:

I can press Cmd-L to get to the address bar, but I can't find a keystroke to bring me back to the page. It sounds like Esc works on Windows, but it doesn't work on the Mac. Is there an equivalent?

marked as duplicate by Daniel Beck Jun 5 '13 at 21:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 5
    How about 2x Tab? – Daniel Beck Nov 24 '10 at 17:25
  • Under what conditions would you like to leave the address bar without pressing return? – fideli Nov 24 '10 at 20:13
  • 5
    @fideli: If you change your mind, for example. – Dennis Williamson Nov 24 '10 at 21:34
  • 3
    @fideli: I often go to the address bar to copy the URL, then want to get back to the page. Most commonly I want to grab a Gmail URL to send to OmniFocus, then go back to interacting with Gmail with the keyboard. – Peeja Nov 25 '10 at 1:58
  • 1
    @Peeja: Makes sense now. Not the answer to your question, but it appears that the latest beta for Chrome uses the OmniFocus clipping service. – fideli Nov 25 '10 at 3:26
8

This question is also asked separately, and another highly upvoted answer is given here: https://superuser.com/a/324267/54335 which relies on creating a new search engine with a short keyword.

21

How about this method using the browser's search:

  1. Ctrl + F (search)
  2. Input any single character into -- might as well search for an F on the page since your finger is already there
  3. Hit Enter taking you to the first search result
  4. Esc to cancel the search

It's a bit of a kludge, but it's fewer keystrokes than the tab solution proposed. With the tab solution, I have to tab over each of the Chrome extension icons and each item in my bookmarks bar before I get to the main window.

  • 1
    good idea, but requires - to me - too much cognitive load for that simple task. – Martin Sep 15 '16 at 7:33
  • 1
    I like this the most so far because it requires no extra configuration. There is another solution in the accepted answer's link which requires setting up custom javascript search engine entries. The Ctrl-F solution will work regardless of what computer or VM I am on. – Shadoninja Sep 29 '16 at 19:58
  • 1
    This solution moves the current scroll position of the browser view to the first match of the single character. – Rhys van der Waerden Feb 15 '17 at 20:58
  • Also wanted to not that this method also requires that the web page has an 'f' in it. Or at least some text so we can search a different letter. – Jesse Reza Khorasanee Aug 13 at 3:33
3

As per @Peeja's request, making my comment an answer:

How about 2x Tab?

Of course, it only works without any bars between location and web page. So hide the bookmark bar using Cmd-Shift-B temporarily.


Another option is (ab)using the Find related shortcuts to be able to move the page. If you're focusing the location bar, and press Cmd-F/G, any up/down key presses are forwarded to the web page view, as long as the find widget is open.


Unfortunately, neither the Chrome scripting dictionary nor the Chrome help were particularly useful.

You can (in theory) execute JavaScript via

tell application "Google Chrome"
    tell window 1
        tell tab 1
            execute javascript "window.document.focus();"
        end tell
    end tell
end tell

But it doesn't work as expected.


You can use Typinator or a similar tool and create a hotkey that enters javascript:enter. This will "leave" the location bar by entering an empty javascript command.

  • 1
    My final solution: Shift-Tab four times. That tabs backwards past the four navigation buttons to the left of the address bar and back to the page. I bound this to a keyboard shortcut with Butler. (Typinator would work too.) Unfortunately, there's no way to make it only work in the right context: if I press it when the address bar isn't focused all sorts of things could happen. But it'll do. Thanks for the ideas and the thorough research! – Peeja Nov 28 '10 at 23:20
  • That doesn't work if you have extensions. Tab tabs through those first. – Bjorn Dec 1 '10 at 3:36
  • @Peeja definitely not a solution if you have a bookmark bar with a lot of bookmarks. It will focus each one before focusing the document! – Martin Sep 15 '16 at 7:31
  • My Chrome doesn't. The bookmarks all come after the address bar in the tab order, not before. – Peeja Sep 15 '16 at 19:48

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