[もくじ]を見るor閉じる

▼もくじ▼

▲もくじ▲

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": true,
    "action": 4,
    "title": "URL",
    "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 newtitle = newtitle.replace(/%20%3A%20%E9%AD%82%E3%81%AE%E6%88%90%E5%8A%9F%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AA%E3%83%BC%E3%82%92%E6%AD%A9%E3%82%80%20%E3%82%BB%E3%83%A9%E3%83%94%E3%83%BC%E3%83%9F%E3%83%A5%E3%83%BC%E3%82%B8%E3%83%83%E3%82%AF%E3%83%AB%E3%83%BC%E3%83%A0 Diva/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=00m00s%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": "GQ",
    "hideOnPopup": true,
    "action": 4,
    "title": "QUO",
    "script": "javascript:var page_title=document.getElementsByTagName('title')[0].innerText.replace(/(^\\s+)|(\\s+$)|\\n|\\r/g,\"\").replace(/\\s\\s/g,\" \");var selection=document.getSelection() + \"\";void(prompt('URL','<p><fieldset><dl class=\"quote\"><dd><blockquote cite=\\\"' + location.href + '\\\" title=\\\"'+ page_title +'\\\"><p>' + selection.replace(/\\n/g, \"<br />\") + '</p></blockquote></dd><dt class=\"cite\">%E5%BC%95%E7%94%A8%E5%85%83: <a href=\\\"' + location.href + '\\\" target=\\\"_blank\\\" rel=\\\"nofollow\\\">'+ page_title +'</a></dt></dl></fieldset></p>'));"
  },
  {
    "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": ""
  }
]