var geturl = function(url){
var ret = {};
var queryStr=url.replace(/^[^\?#]*\??/g,'').replace(/#DIALOG_.*$/g,'');
queryStr.replace(/([^=&]+)=([^&]*)/g, function (a, b, c) {
b = decodeURIComponent(b);
c = decodeURIComponent(c);
ret[b] = c;
ret[b.toLowerCase()] = c;
});
return ret;
}

相关文章:

  • 2022-02-01
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-11-20
相关资源
相似解决方案