google calendarのpermalink作成

    @@ -6,7 +6,7 @@ * @javascript_url */ -const result = location.href.match(/https:\/\/calendar.google.com\/calendar\.*\/eventedit\/([0-9a-zA-Z)/); +var result = location.href.match(/https:\/\/calendar.google.com\/calendar\.*\/eventedit\/([0-9a-zA-Z)/); if (result) { prompt("Ctrl-Cでコピーしてください。", ""); // prompt("Ctrl-Cでコピーしてください。", shorten_url);
  • /*
     * @title google calendarのpermalink作成
     * @description googleカレンダーの予定編集画面からpermalinkを作ります
     * @include https://calendar.google.com/
     * @license 悪さしなければ自由に使ってもらって構いません
     * @javascript_url
     */
    
    var result = location.href.match(/https:\/\/calendar.google.com\/calendar\.*\/eventedit\/([0-9a-zA-Z)/);
    if (result) {
      prompt("Ctrl-Cでコピーしてください。", "");
      // prompt("Ctrl-Cでコピーしてください。", shorten_url);
    } else alert("対応サイトではありません。");
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2025/04/17 11:46:05 - 2025-04-17
  2. 2025/04/17 11:44:24 - 2025-04-17
  3. 2025/04/17 11:42:56 - 2025-04-17
  4. 2025/04/17 11:42:33 - 2025-04-17
  5. 2025/04/17 11:41:54 - 2025-04-17
  6. 2025/04/17 11:40:56 - 2025-04-17
  7. 2025/04/17 11:40:32 - 2025-04-17
  8. 2025/04/17 11:35:52 - 2025-04-17
  9. 2025/04/17 11:35:19 - 2025-04-17
  10. 2025/04/17 11:34:50 - 2025-04-17
  11. 2025/04/17 11:34:12 - 2025-04-17
  12. 2025/04/17 11:32:43 - 2025-04-17