Google Chrome (Mac) set keyboard focus from address bar back to page

52

22

I'm using the latest Google Chrome (14.0.835.35) on a Mac (10.6.8)

There are quite often instances where the address bar has focus and I'd like to get back to the main page (so I can use arrow keys and all my Vimium shortcuts) without having to use the mouse and manually clicking somewhere on the page... (pressing Escape would be the obvious shortcut but it doesn't work)

Is there a way round this?

William Turrell

Posted 2011-08-15T08:22:01.080

Reputation: 667

related: https://stackoverflow.com/questions/10981973/keyboard-shortcut-to-switch-focus-from-web-developer-tools-to-page-in-chrome

– Ciro Santilli 新疆改造中心法轮功六四事件 – 2018-04-23T17:04:07.980

1Have you tried using Tab? – None – 2011-08-15T09:37:51.967

1Well I can do it with shift-Tab repeated four times... (I need some 30 or so 'ordinary' tabs to get back to the page as it cycles through all the extensions and then the bookmarks bar first.) – William Turrell – 2011-08-15T10:49:53.490

⌘-L worked for me. See also http://superuser.com/questions/310160/what-is-the-keyboard-shortcut-to-focus-to-address-bar-in-mac-chrome for additional details.

– Alexey Shein – 2014-01-27T07:34:46.153

@SheinAlexey, the question is asking for details to come back to the browser contents rather than going to the address bar. So that link doesn't answer this question. – bschandramohan – 2014-05-06T09:30:31.727

1@ChandraMohan Oh, you're right. I misread the question, and typed the solution I was looking myself. – Alexey Shein – 2014-05-08T06:48:36.363

Answers

66

This has annoyed me very much too. Using tab is not always desirable, for example when you're reading a large document. Tab could move away from where you were reading to the first link on the page.

I have found a work-around for the missing hotkey inspired by some of the answers from here: In Mac Chrome, how can I return focus from the address bar to the page?

Typing "javascript:" (without quotes) and then enter will move focus back to the page. OK, so that's one solution. That's however not very nice as you would have to do a lot of typing. Now what you can do is add a new search engine with a short keyword, like "u", and set the search string to be "javascript:". Then you can type in "u" and then enter to move focus back to the page without jumping around.

Edit: Apparently this still gets upvotes. If this really bothers you please let the chrome devs know here: http://code.google.com/p/chromium/issues/detail?id=92885

ReyCharles

Posted 2011-08-15T08:22:01.080

Reputation: 891

5It's 2014... is there really still not a "right way" of doing this on OS X Chrome? – Max Cantor – 2014-08-02T22:36:28.370

1On the bug page you linked: "Only users with EditIssue permission may comment". Woot! – Gerry – 2016-06-12T07:38:36.233

Such a shame there's no native way of doing such a basic thing. Thanks for the workaround, it works nicely. I've assigned the javascript: search engine to the "l" (lower case L), so I can jump from Developer Tools to the page with "cmd+l l enter". – Rangi Robinson – 2016-06-27T12:35:54.780

Nice workaround, although it feels a little wrong but I have set it up because this irritates me all the time as I lose access to vimium constantly. – GTF – 2016-11-30T12:12:41.477

1Weirdly enough, if I actually type javascript: into the address bar, it Googles that query. However, if I add a search engine javascript: as the Query URL, it works correctly. – ijoseph – 2019-10-29T02:54:59.923

1Thanks for this (& sorry for delay in acknowledging.) I've used 'j' as my shortcut. – William Turrell – 2011-09-25T17:20:44.623

1

Also see this issue on vimium: https://github.com/philc/vimium/issues/226

– ReyCharles – 2011-11-23T17:58:38.900

7

On Windows at least, I've been using F6 to switch between the URL bar and the rest of the page, also for the purpose of using Vimium. I am not sure if this works on OSX or Linux.

F6 cycles between keyboard accessible panes such as the URL bar, bookmarks, the page itself, and downloads. I generally keep downloads and bookmarks hidden, so F6 acts as a toggle. It's not nearly as clean of a solution as a dedicated "focus to the page" button would be, but I've found it workable.

Warrior Bob

Posted 2011-08-15T08:22:01.080

Reputation: 171

Doesn't seem to work on Linux, although I can get to my bookmark bar this way. – Zamicol – 2015-03-09T20:35:29.057

2Shift-F6 works better. Pressing F6 moves the focus to the bookmark toolbar, if it is enabled. (This is about Windows only.) – Alex Quinn – 2015-08-06T20:53:32.077

1Does nothing in OS X. – William Turrell – 2011-12-16T21:00:06.530

Doesn't work for me on Windows 7 64 bit using Chrome 17.0.963.78 m. Where did you find out about this? – Peter Nore – 2012-03-13T14:26:43.293

@PeterNore Works great for me on Windows 7 64-bit, although at the moment I'm running Chromium 19.0.1043.0. I don't remember where I first read it, but I was able to find it on Google just now. Looks like it cycles between bookmarks and downloads too, but I apparently have those hidden.

– Warrior Bob – 2012-03-13T14:55:06.860

Seems to be working for me today - strange! – Peter Nore – 2012-03-14T16:31:36.263

1

I think the best way is ⌘ (Command)+, (comma), then +w.  It will open "chrome://settings/" and then close it.  And the focus will get back to your page.

XC.xc

Posted 2011-08-15T08:22:01.080

Reputation: 11

0

You can overcome a lot of chrome omnibar limitations with Fauxbar extension. It allows you to open a pop-up addressbar which you can close with escape key. That is besides the fact that it uses firefox algorithm for url lookup, which is awesome and WAY more usable then what omnibar offers.

vangop

Posted 2011-08-15T08:22:01.080

Reputation: 161

0

not a true "focus to the page" hot-key solution, but works as needed on both firefox and chrome:

use "ctrl+l" to move focus to address bar, then hit "enter". page will reload with focus given to page.

nick

Posted 2011-08-15T08:22:01.080

Reputation: 1

0

The best way for me is never using Chrome's URL bar, and always use Vimium's open URL hotkey, which is O by default.

BurnetZhong

Posted 2011-08-15T08:22:01.080

Reputation: 101

0

I'm using Shift+F6.

I mapped Ctrl+Shift+L to Shift+F6 so now I focus on the address bar with Ctrl+L and unfocus with Ctrl+Shift+L.


I'm using Ubuntu so I've mapped those keys with autokey

Eyal Levin

Posted 2011-08-15T08:22:01.080

Reputation: 299