User:Yonidebest/monobook.js/checkquery.js

// query split taken from here var queryArray = new Array; var pairs = location.search.substring(1).split("&"); for (var i=0; i < pairs.length; i++) { var pair = pairs[i].split("="); queryArray[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]).replace(/\+/g, ' '); }