I am writing an extension, I was able to implement the parsing of the information I need from the page.
var xhr = new XMLHttpRequest(); xhr.open("GET", "http://steamcommunity.com/market/listings/730/AK-47%20%7C%20Redline%20%28Field-Tested%29", true); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { var data = xhr.responseText; var example = document.getElementById('example'); example.innerHTML = data; var name = document.getElementsByClassName("market_listing_item_name")[0].innerHTML; var priceO = document.getElementsByClassName("market_listing_price market_listing_price_with_fee")[0].innerHTML; dannie.innerHTML = priceO; dannie.innerHTML = name + " : " + priceO; // добавляется в блок с id=dannie цена } } xhr.send(); Parsing price from the trading floor. But how to implement, to parse several at once, 10-15 pieces of guns and the price would be constantly updated (for example, every 30 seconds).
For example, add a couple more guns 1. Another gun 2. Here is another