Related: Chrome: Keyboard shortcut to go to Address Bar?
You can go to address bar by ⌘+l / Ctrl+l, but how can I go back to, or focus, the browsing area again?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityRelated: Chrome: Keyboard shortcut to go to Address Bar?
You can go to address bar by ⌘+l / Ctrl+l, but how can I go back to, or focus, the browsing area again?
[EDIT:] Does simply pressing Tab a few times work for you? [/EDIT]
There doesn't seem to be such a shortcut. What you can do is press CTRL+F, search for a word close to where you are on the page and then Esc.
Of course this is not really convenient, so you could also do what this other answer suggests and type javascript:
in the url bar, followed by Enter. This executes the javascript following the colon, so it does nothing. However, it DOES refocus the page.
This is still not convenient, but using AutoHotkey, you can remap any shortcut you'd like to do this. The AutoHotkey Script would probably have to simulate CTRL+L to make sure focus lies on the url bar, followed by javascript: and Enter.
I hope this helps. Sadly, AutoHotkey is only available for windows but there might be a similar tool for Mac.
Another option I just found out about: On windows, I can press Alt followed by Tab. This might work on mac as well.
Cmd+Option+Up/Down cycles focus between address bar, tab bar, bookmarks bar and page content. Therefore, you can use these shortcuts to get from the address bar back to the page content.
(On Windows and Linux, the same can be done by using F6 and Shift+F6)
Tab
is a non-starter for me as I have 34/150 extensions enabled, and approx 1 gazilion tabs 😆
There's no good way to do it, but if you're focusing the address bar to copy the URL, you could install something like Vimium, it ads yy
hotkey that saves the URL to the clipboard.
I have a solution for this, which works, but it's a little convoluted. You need to install Vimium (Chrome extension) + Keyboard Maestro (commercial Mac automation software).
Vimium has a shortcut m
that allows you to save your scroll position to a named register, e.g. a
, so ma
will save your scroll position to a register a
, and to go back to that position you type `a
.
So the solution is to create two macros (automations) in Keyboard Maestro:
The first one detects ⌘L
and then simulates the keypresses mm
before the ⌘L
. What this does is bookmark your scroll position before focussing the address bar.
The second macro is a keyboard shortcut that simulates a ⌘f
keypress followed by space
followed by esc
followed by `
followed by m
. In my example I've mapped this to ^P
for 'page'. What this does is use the ⌘F
workaround to focus the page, and then triggers Vimium's go to mark hotkey (specifying m
as the mark to go to, which was set in the previous automation).
Pressing esc will "undo" your previous keystroke and eventually take you back to the browsing area. You may have to press esc multiple times though.
⌘-L
, esc
. I never knew that before. Kudos.
Pressing Tab should be doing what you want. This works even when the page has no focus-able elements. Tab will cycle though all the focus-able page elements and return to the address bar/location field, and whatever other browser UI controls can receive focus, in a loop, in that order.
Simple example: setting focus to the address bar/location field pressing Cmd+L/Crtl+L, pressing Tab proceeds from the address bar/location field, to the page/first focus-able element, through the page's other focus-able elements in the order determined by the HTML/JavaScript, and then back to the address bar/location field.
More complicated example with other browser UI present: with the Inspector open, then setting focus to the address bar/location field pressing Cmd+L/Crtl+L, pressing Tab proceeds from the address bar/location field, to the next browser UI controls, which is the Inspector (and through all it's focus-able controls), and then to the page.
The following works if:
You can press your Shortcat hotkey and just press "Enter". It works as though just clicking the mouse left key wherever the mouse current position is.
I handled the problem by installing autokey (linux) and creating a macro for <Alt>+<Esc> which essentially runs <Esc><Tab>. After that I have focus to the website.
Note that I have switched Esc and Caps.
Press F6 a few times (two in my case) to cycle the focus between URL bar, tabs, address bar and browsing content.
I'm not sure there's an exact number of times his has to be done, since others might have the address bar hidden, or some other config settings so maybe this varies depending on these settings.