siteinfo regexp demo

  • /*
     * @title siteinfo regexp demo
     * @description AutoPagerize SITEINFO の URL 正規表現をデモ
     * @include http://wedata.net/items/*
     * @include http://wedata.net/databases/*
     * @require https://gist.github.com/cho45/3238/raw/dollarX.js
     */
    
    // String_random.js http://lowreal.net/2013/09/03/1
    // http://lowreal.net/2013/09/13/1
    // Demo of String_random.js http://cho45.stfuawsc.com/String_random.js/demo.html
    
    var x = $X('//tr[th[text()="url"]]/td');
    x.forEach(function (x) {
    	var b = x.textContent;
    	var c = encodeURIComponent(b);
    	var d = 'http://cho45.stfuawsc.com/String_random.js/demo.html#' + c;
    	x.innerHTML = '<a href="' + d + '">' + b + '</a>'
    });
    
    // autopagerize 非対応
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/09/13 12:01:30 - 2013-09-13
  2. 2013/09/13 11:57:54 - 2013-09-13
  3. 2013/09/13 11:54:03 - 2013-09-13
  4. 2013/09/13 11:34:21 - 2013-09-13
  5. 2013/09/13 11:32:19 - 2013-09-13