● Table of Contents :

ShortcutKey2URL

ShortcutKey2URL (WebExtensions) – 🦊 Firefox (ja) 向け拡張機能を入手
onozaty のユーザープロフィール – Firefox (ja) 向けアドオン

以下のテキストを[UTF8][改行LF][.json]で保存して、ShortcutKey2URLにインポートします。

[
  {
    "key": "F",
    "hideOnPopup": false,
    "action": 3,
    "title": "Facebook",
    "url": "https://www.facebook.com/",
    "script": ""
  },
  {
    "key": "GG",
    "hideOnPopup": false,
    "action": 4,
    "title": "GOOGLE",
    "script": "javascript:var gottenurl = location.href;var gottentitle = document.title;gottentitle = gottentitle.normalize(\"NFC\");var newtitle = gottentitle.replace(/%E3%83%A8%E3%83%89%E3%83%90%E3%82%B7\\.com%20\\-%20(.*)%20%E9%80%9A%E8%B2%A9%E3%80%90%E5%85%A8%E5%93%81%E7%84%A1%E6%96%99%E9%85%8D%E9%81%94%E3%80%91/g,%22$1%22);var newtitle = newtitle.replace(/ - YouTube/g,%22%22);var newurl = gottenurl.replace(/http\\:\\/\\/localhost\\:1313/g,%22%22);var newurl = newurl.replace(/https:\\/\\/benkyosukisuki.com/g,%22%22);var newurl = newurl.replace(/search\\?.*\\&q=/g,%22search?&q=%22);var newurl = newurl.replace(/\\&stick=([^&|\"]+)/g,%22%22);var newurl = newurl.replace(/\\&ved=([^&|\"]+)/g,%22%22);var newurl = newurl.replace(/\\&biw=([^&|\"]+)/g,%22%22);var newurl = newurl.replace(/\\&bih=([^&|\"]+)/g,%22%22);var newurl = newurl.replace(/\\?frm_src=thumb_module/g,%22%22);var newurl = newurl.replace(/\\&feature=youtu.be\\&t=(\\d+)m(\\d+)s/g,%22%22);var newurl = newurl.replace(/time_continue=\\d+\\&/g,%22%22);var newurl = newurl.replace(/\\/\\/www.youtube.com\\/watch\\?v=(.{11})(.*)/g,%22//youtu.be/$1?t=0m0s%22);var newurl = newurl.replace(/\\/\\/www.amazon.co.jp\\/.*\\/dp\\/(.{10}).*/g,%22//www.amazon.co.jp/dp/$1%22);var newurl = newurl.replace(/\\/\\/www.amazon.co.jp\\/dp\\/(.{10}).*/g,%22//www.amazon.co.jp/dp/$1%22);prompt('HTML link','%E2%96%A0<a href=%22'+newurl+'%22 target=%22_blank%22 rel=%22nofollow%22>'+newtitle+'</a><br>')();"
  },
  {
    "key": "GM",
    "hideOnPopup": false,
    "action": 3,
    "title": "Gmail",
    "url": "https://mail.google.com/",
    "script": ""
  },
  {
    "key": "GS",
    "hideOnPopup": false,
    "action": 1,
    "title": "Google",
    "url": "https://www.google.com/",
    "script": ""
  },
  {
    "key": "T",
    "hideOnPopup": false,
    "action": 3,
    "title": "Twitter",
    "url": "https://twitter.com/",
    "script": ""
  },
  {
    "key": "Y",
    "hideOnPopup": false,
    "action": 3,
    "title": "YouTube",
    "url": "https://www.youtube.com/",
    "script": ""
  }
]