irc search

    @@ -1,5 +1,5 @@ /* - * @title KMC + * @title irc search * @description test * @include http://* * @include https://*
  • /*
     * @title irc search
     * @description test
     * @include http://*
     * @include https://*
     * @license MIT License http://nrm.mit-license.org/2012
     * @require http://code.jquery.com/jquery-2.0.3.min.js
     * @private
     */
    
    (function () {
      var channel = prompt("チャンネル入力"),
        date = prompt("日付入力"),
        word = prompt("検索ワードを入力(正規表現)"),
        regex = new RegExp(word);
      $.ajax({
        url: "https://www.kmc.gr.jp/irclog/",
        data: {
          channel: channel,
          date: date
        }
      }).done(function(data) {
        $(data).find(".col0,col1,col2,col3,col4,col5,col6,col7").filter(function() {
          return $(this).text().match(regex);
        }).each(function() {
          console.log($(this).text());
        });
      });
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/07/16 21:37:37 - 2013-07-16
  2. 2013/07/16 20:11:05 - 2013-07-16
  3. 2013/07/16 20:07:39 - 2013-07-16
  4. 2013/07/16 20:04:32 - 2013-07-16
  5. 2013/07/16 20:04:05 - 2013-07-16
  6. 2013/07/16 19:52:50 - 2013-07-16
  7. 2013/07/16 19:46:28 - 2013-07-16
  8. 2013/07/16 19:45:16 - 2013-07-16
  9. 2013/07/16 19:42:58 - 2013-07-16
  10. 2013/07/16 19:42:37 - 2013-07-16
  11. 2013/07/16 19:41:06 - 2013-07-16