Glam Prestige Journal

Bright entertainment trends with youth appeal.

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

4

13 Answers

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'] = ' bookmarks['S'] = ' 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.

8

As reported in How to Assign a Keyboard Shortcut Key to Frequently Used Google Chrome Bookmarks the key is to set the specific URL to a default Search engine.

  1. Open chrome://settings/searchEngines to load the list of search engines.

  2. In "Other search engines" add a new one with the following parameters:

    • Search engine: the name you give to the search engine.
    • Keyword: the keyword you want, say SU.
    • URL with %s in place of query: alone if you want the alias to point directly to the site.

After saving it, whenever you type SU in your URL bar you will be either sent to or to .

enter image description here

You can also specify a placeholder %s when filling the URL with %s in place of query field, say . Then, when you type "su" Tab + "bla" it will send you to .

This is the current behaviour for Google Chroome 79.

6

Another approach is to

  • Move focus to the url bar with +L.
  • Type the full name of the bookmark followed by a /.
  • Press tab to select the second autocompletion (which in my experience is always the first matching bookmark name).
  • Press enter.
5

Note: Shortcut is defined as 1 key combination, most of the other answers do require more typing.

Solution A: Autohotkey

Use Autohotkey and define your own shortcuts for your main bookmarks. Here is a script that I prepared as a dummy for you: chrome-bookmarks-shortcuts.ahk

For instance, hold SHIFT WIN and hit G to open gmail.com.


Solution B: Chrome extension: SiteLauncher (Speed Dial)

It helps to a certain extent, however, you can only assign one letter to a bookmark, not two or more.


Solution C: Chrome extension: Shortkeys (Custom Keyboard Shortcuts)

This extension can handle one letter or combinations to open assigned bookmarks. The only problem: You cannot enter those combinations in the URL bar. My workaround, CTRL + T for new tab, then TAB then combination.

However, both extensions feel a bit buggy.


Solution D: Using Chrome's "Custom SearchEngine" (Hack)

This solution does not need any plugin or extra software: 👍


Shortcuts in Firefox

To recall how the bookmark properties look like in Firefox and how easily you can assign a keyword (shortcut) to it:

Firefox keyword field

In Firefox, now entering "mp" in the URL bar opened the specific website. As you can read in the net, Chrome does not have this simple feature and uses the "Search engine" section for this.

0

This works well on Windows:

First make sure your booksmarks bar is showing (CTRL+Shift+b) and then use:

F6

or

Shift+F6

Those keys switch focus between the Address bar, Bookmarks bar (if showing), and page content.

So if my focus is on the page content, I would use Shift+F6 and then use my arrow keys to navigate my bookmarks.

1

Inspired by the approach of Dennis:

It didn't work for me and this is probably because his answer is kind of old, but I liked the approach about implementing this myself, since there doesn't seem to be a proper solution out there in the web store.

Here's what you need to do:

  • Create 2 files, manifest.json and background.js. Put them into a new folder and add the content below to those files.
  • Within chrome, type chrome://extensions in the address bar and activate developer mode on the top right (switch).
  • Click on the Load unpacked button that appeared and select your folder containing the files.

That's it, with this, you have what you need. As soon as you type CTRL+ALT+G, google will open in a new tab. :)

manifest.json:

 { "name": "Bookmark Shortcutter", "version": "1.0", "description": "Custom shortcuts for bookmarks! Coolio!", "permissions": ["", "tabs"], "content_scripts": [ { "matches": ["", ""], "js": ["background.js"], "run_at": "document_start" } ], "manifest_version": 2 }

background.js:

if (window == top) { window.addEventListener('keyup', doKeyPress, false);
}
var bookmarks = {}, url;
bookmarks['G'] = '
bookmarks['S'] = '
function doKeyPress(event){ if(event.ctrlKey && event.altKey && !event.shiftKey) { if(url = bookmarks[String.fromCharCode(event.keyCode)]) { window.open(url); } }
}
2

Try this chrome extention Shortkeys (Custom Keyboard Shortcuts) provided by Mike Crittenden.

shortcut

1

Addition to the top answer's solution, if you want to also use some scripts like changing playback speed on youtube:

var bookmarkLauncherSetup = (function() { var bookmarks = {}, url; bookmarks['G'] = ' bookmarks['1'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 1'; bookmarks['2'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 1.5'; bookmarks['3'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 2'; bookmarks['4'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 2.5'; bookmarks['5'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 3'; bookmarks['6'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 4'; bookmarks['7'] = 'javascript:document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = 5'; window.addEventListener('keyup', function() { if(event.ctrlKey && event.altKey && !event.shiftKey) { if(url = bookmarks[String.fromCharCode(event.keyCode)]) { try { eval(url); } catch { window.open(url); } } } });
}());

The following works by typing a keyword into the address bar (omnibar) and pressing enter to jump to a specific url. In Chrome (as of version 59.0), this isn't available through the bookmark manager like it is in Firefox, but you can easily use the Search Engine Shortcuts feature of Chrome to work the same way.

  1. Right click the address bar (omnibar)
  2. Select edit search engines...
  3. Click on 'ADD' - which appears after the default search engines section
  4. In the dialog that pops up:
    • in the search-engine field - name your bookmark
    • in the keyword field - enter your keyword shortcut string (what you will need to type in the omnibar to quickly jump to this 'bookmark'
    • In URL field - type in the url you want to associate with the keyword

Note: the url can contain a special placeholder: "%s" (without the quotes) that will serve as a placeholder for additional text that you can enter if you press tab after typing the keyword shortcut.

For example: I use a keyword shortcut that jumps to list of bookmarks on pinboard.com by given tag. For that:

  • I use 'pint' as keyword,
  • and as url.

Then to access all my bookmarks on pinboard tagged with 'todo'

  • I type 'pint' in omnibar,
  • press TAB
  • type the tag I want to visit - in this example 'todo'
  • and ENTER This takes me to

An easily accessible fuzzy search over your Chrome bookmarks:

  1. In order to search the bookmarks, activate Vimium chrome extension's "Vomnibar" with b key from any webpage.

  2. If you want to create a system-wide shortcut, you could use the following Autohotkey automation tool script

    #NoEnv
    SetBatchLines -1
    ListLines Off
    SendMode Input
    #Space:: ; windows+space will open a Chrome window with search bar over bookmarks from any location
    run, ; Or any regular webpage. A local webpage would work as well.
    WinWait ahk_exe chrome.exe
    WinActivate ahk_exe chrome.exe
    WinWaitActive ahk_exe chrome.exe
    send, {b}
    return

Bonus: you can search your bookmarks by folder by using /. Type in "Vomnibar" /myBookmarkDir myBookmark

Try thisChrome Bookmark Shortcut:

You can now open bookmarks using key board shortcuts.

You need to manually edit the javascript code, but instructions are provided at the above link.

1

I know this thread is quite old. But this is to inform those interested by a solution, that in the past weeks I have programmed an extension to mimic firefox behavior.

The extension picks the aliases directly from your bookmarks. The user adds an alias by editing a bookmark in chrome's bookmark manager. If it works as a bookmark it works as an alias (http(s), javascript, with/without %s parameter). It's also easier to export/import bookmarks with their aliases.

You can find it in the webstore under the name "Alias Bookmarks" by Achernar.

1

December 2019.

If you arrived here looking for what Google Chrome calls now shortcuts (differing from keyboard shortcuts) because you want to add shortcuts to specific URLs in your Windows 10, this might help.

Make sure your Windows 10 is updated to the latest version (1903).

Create shortcut manually

Most flexible option.

In order to add multiple shortcuts to the same domain you need to create them manually. COPY-PASTE doesn't work.

  1. Open your file explorer and go to %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome Apps

  2. Right click > New > Shortcut

  3. The location of the item is: "C:\Program Files (x86)\Google\Chrome\Application\chrome_proxy.exe" --profile-directory=Default --app="TARGET_URL".

    • Replace TARGET_URL with your relevant URL
    • Note that the path to chrome_proxy.exe might differ in your installation.
  4. Now the shortcut is created but doesn't look pretty. You can change this by opening the shortcut properties > Change icon… and finding the relevant icon. Tip: If you created a shortcut from your browser before, the icon will be somewhere.

  5. Right click on icon > pin to start. You can have multiple shortcuts to the same app, as long as the URL is somehow different.

Create shortcut using Chrome options

To then modify it to open a specific URL rather than the landing page.

  1. Create the shortcut from Chrome: "⋮" > More tools > Create shortcut…
  2. Go to %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome Apps
  3. Right click the shortcut you created
  4. In the Target field, replace --app-id=XXXXXX for --app="TARGET_URL"
    • Replace TARGET_URL with your relevant URL