MediaWiki:ExchangeMobile.js

var rawPrice; function updatePriceFunction { alert("Work in progress"); var priceRequest = new XMLHttpRequest; priceRequest.open("GET", "Abyssal longsword", true); priceRequest.send(null); priceRequest.onreadystatechange = function { console.log("ready") if (priceRequest.readyState === 4 && priceRequest.status==200) { console.log(priceRequest.responseText) }	}; }