Skip to content

Instantly share code, notes, and snippets.

@tototoshi
Created December 7, 2010 08:24
Show Gist options
  • Save tototoshi/731586 to your computer and use it in GitHub Desktop.
Save tototoshi/731586 to your computer and use it in GitHub Desktop.
key.setViewKey(["C-x", "l"], function () {
var currentURL = window._content.document.location.href;
var nextURL = window.prompt("Input URL", currentURL);
if (nextURL != null) {
loadURI(nextURL);
}
}, "指定URLへジャンプ", true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment