User:Animum/urlparameters.js

// Copied from User:DerHexer with extreme pride (and a few modifications)

var UrlParameters = new Array ; function readparams { // Get URL parameters var asReadInUrlParameters = location.search.substring(1, location.search.length).split("&"); for (i = 0; i < asReadInUrlParameters.length; i++) { var asReadInUrlParameter = asReadInUrlParameters[i].split("="); UrlParameters[decodeURIComponent(asReadInUrlParameter[0])] = decodeURIComponent(asReadInUrlParameter[1]); } }

readparams;