").load(document.querySelector("#user-script-list > li:nth-child(" + i + ")>article>h2>a").href+" #install-area", function() {
$("#user-script-list > li:nth-child(" + i + ")").append($(this).html());
console.log(i);
});
}
})(i);
}
}
if(document.querySelector("#browse-script-list")){
for(i = 1; document.querySelector("#browse-script-list").childNodes.length > i; i++) {
(function(i){
if(document.querySelector("#browse-script-list > li:nth-child(" + i + ")>article>h2>a")) {
console.log(document.querySelector("#browse-script-list > li:nth-child(" + i + ")>article>h2>a"));
$("
").load(document.querySelector("#browse-script-list > li:nth-child(" + i + ")>article>h2>a").href+" #install-area", function() {
$("#browse-script-list > li:nth-child(" + i + ")").append($(this).html());
console.log(i);
});
}
})(i);
}
}
// compat with [TS] Citrus GFork
setTimeout(function(){
if(document.querySelector("#script-table")){
for(i = 0; document.querySelector("#script-table > tbody").childNodes.length > i; i++) {
(function(i){
if(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a")) {
console.log(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a"));
$("
").load(document.querySelector("#script-table tr:nth-child("+i+") > td:nth-child(2) > div.thetitle > a").href+" #install-area", function() {
$("#script-table tr:nth-child(" + i + ") div:nth-child(2)").append($(this).html());
console.log(i);
});
}
})(i);
}
}
}, 1000);