Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am irwynks on github.
  • I am irwynks (https://keybase.io/irwynks) on keybase.
  • I have a public key ASBRO9zew2ve2MVi7Mf3spl5uOhSfU-wbQoo7c9IYBYRLAo

To claim this, I am signing this object:

GM_xmlhttpRequest({
method: "GET",
url: "https://www.mediawiki.org/wiki/User:Bcoughlan/Login_with_curl?action=render",
headers: {
"User-Agent": "Mozilla/5.0", // If not specified, navigator.userAgent will be used.
"Accept": "text/xml" // If not specified, browser defaults will be used.
},
onload: function(response) {
var responseXML = null;
// Inject responseXML into existing Object (only appropriate for XML content).