Started working on a CSGO skin database

This commit is contained in:
Daniel Løvbrøtte Olsen
2016-05-12 22:22:17 +02:00
parent f689ce67a4
commit b9e0ef7f43
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// Requires Chrome and Steam Inventory Helper addon
jQuery("body").append("</span></div>");
jQuery(".sih-market-action").each(function() {
console.log(jQuery(this).attr("href"));
jQuery("body").append('<div style="background: white"><span>' + jQuery(this).attr("href") + ", ");
});

View File

@@ -0,0 +1,9 @@
// Runs on CS:GO Zone, you'll have to run it a couple of times to let the inspector catch up, but it still speeds up the process drastically
console.log("New Run:");
var links = prompt("Please enter the links that are going to be processed").split(",");
for (var i = 0; i < links.length; i++) {
jQuery("#check-page > div.inspect-body.check-body > div.check-input-holder > div:nth-child(1) > input").val(links[i]);
jQuery(".check-load-button").trigger('click');
console.log(i+1 + ". " + jQuery(".wear.value").text());
}