Use ShortcutKey2URL to make your browser operation more comfortable

What is ShortcutKey2URL

This is an extension that allows you to open and navigate URLs and execute JavaScript using shortcut keys.
The startup key will display a list of pre-defined actions, and the next key will execute the action.

  • Jump to URL. For already opened URL, go to that tab. Open it as a new tab if it is not already open.
  • Open URL in new tab.
  • Open URL in current tab.
  • Execute the JavaScript on the current tab.
  • Open URL as a new tab and then execute the JavaScript.

About what you find useful

Shortcut keys are not limited to a single character

When the number of things you want to register as shortcuts increases, you may find that the keys overlap.
With ShortcutKey2URL, you can specify not only a single key but also multiple keys, so there is no problem even if the number of shortcuts increases.

You can jump to an already open tab

Jump to url is a shortcut key action.
When this is specified, the behavior is as follows.

  • If the URL is already open, go to that tab.
    URLs are compared by forward matching.
  • If the URL is not already open, open it as a new tab.

Bookmarklets can be registered

In addition to the url, you can also register a bookmarklet.
Bookmarklets can be specified as an Execute script.

JavaScript can be executed after the URL is opened

You can also set up JavaScript to be executed immediately after opening a URL.
If you enter the JavaScript you want to execute in the Script (Optional) field, the JavaScript will be executed when you open or navigate to the URL.

  • I want to change the initial focus position.
  • I want to put a value in the input form as the initial value.

Usage

Install

Install from below.

Setting the Startup Key

The startup key is, by default, Ctrl+. (period).
On Mac, it is Command+,(comma).

How to operate

When you press the startup key, a pop-up window will appear with a list of shortcuts.

Shortcut settings

Set the shortcut keys in the Options screen.

Settings

Column count specifies the number of columns for the shortcut to be displayed in the popup.
On the left is the case when 2 is specified, and on the right is the case when 3 is specified.

Shortcut Keys

By clicking Add current page, you can easily set the current page as a shortcut key.

  • Jump to URL
    If the URL is already open, go to that tab.
    URLs are compared by forward matching.
  • Open url in new tab
  • Open url in current tab
  • Execute script
    Execute the specified JavaScript in the current tab.

Import / Export

The list of shortcut keys can be exported/imported.
This allows you to make backups and migrations. (e.g. migration between Firefox and Chrome).

Support

It is developed on GitHub.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store