As shown below:
///Get the parameters specified in the url
var paraString = url.substring(url.indexOf("?") 1, url.length).split("&");
var paraObj = {}
i]; i ) {
paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") 1, j.length) ;
}
var returnValue = paraObj[paras.toLowerCase()];
🎜> } else {
return returnValue;