User:Jdouglas (WMF)/common.js

var xhr = new XMLHttpRequest; xhr.onload = function reqListener { console.log(this.responseText); }; xhr.open("get", "//www.mediawiki.org/", true); xhr.send;