User:JimTittsler/t.js

var http = new XMLHttpRequest; var url = "/api.php"; var params = "action=query&prop=info&intoken=edit&format=json&titles=User:JimTittsler/Tag"; http.open("GET", url+"?"+params, true); http.onreadystatechange = function { if (http.readyState == 4 && http.status == 200) { alert(http.responseText); } } http.send(null); //api.php?action=query&prop=revisions&rvprop=content&format=jsonfm&titles=User:JimTittsler