Open zivenday opened 5 years ago
url.toString().split('?')[1].split('&')
function urlParam(){ const param = {}; location.search.replace(/([^&=?]+)=([^&]+)/g,(m,$1,$2)=> param[$1] = $2); return param; }