/*
* @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 非対応