Shortcut to open specific bookmark / URL in Chrome

How to enable keyboard shortcut to open specific bookmark / URL while using Chrome?

Solution:

Without extensions

The only ways (that I know of) to open a bookmark with the keyboard are the following:

  • Using the Bookmark Manager:

    1. Open Bookmark Manager by pressing Ctrl + Shift + O.

    2. Three options:

      • Search all bookmarks (just start typing), press Tab twice and select the desired bookmark with the arrow keys.

      • Press Tab, select the desired folder, press Tab again and select the desired bookmark with the arrow keys.

      • If the desired bookmark is in the Bookmarks Bar, press Tab twice and select the desired bookmark with the arrow keys.

    3. Press Enter.

  • Using Customize and control Google Chrome:

    1. Press Alt + E or Alt + F to open Customize and control Google Chrome.

    2. Press B to enter Bookmarks.

    3. Assuming the desired bookmark is in the Bookmarks Bar, select it with the arrow keys.

    4. Press Enter.

  • Using the Omnibox:

    1. Press Ctrl + L, Alt + D or F6 to focus the Omnibox.

    2. Type (part of) the desired bookmark’s name.

    3. When it appears in the drop-down below the Omnibox, select the desired bookmark with the arrow keys.

    4. Press Enter.

With extensions

Several extensions are able to do this. The easiest way is probably a user script like this one:

// ===UserScript===// @name          Bookmark Launcher// @description   Launches bookmarks with keyboard shortcuts// ===/UserScript===var bookmarkLauncherSetup = (function() {    var bookmarks = {}, url;    bookmarks['G'] = 'http://google.com';    bookmarks['S'] = 'http://superuser.com';    window.addEventListener('keyup', function() {        if(event.ctrlKey && event.altKey && !event.shiftKey)            if(url = bookmarks[String.fromCharCode(event.keyCode)])                window.open(url);    });}());

To use it, do the following:

  1. Modify the array bookmarks to suit your needs. All letter and number keys should work fine.

  2. Save the code as bookmark-launcher.user.js in a location of your choice.

  3. Open chrome://extensions/ in Google Chrome.

  4. Drag and drop bookmark-launcher.user.js in the open tab.

  5. Click Add.

Note that no extension can function in tabs opening chrome://... URLs (this includes New Tab) or the Chrome Web Store.

In any other tab (after reloading it), pressing Ctrl + Alt + S will open Super User in a new tab.

Note that you have to be focusing the tab itself. If you’re focusing, e.g., the omnibox or the developer console, the keyboard shortcuts won’t have any effect.