미쿡형아가 만든 아래 펑션을 사용해보자.
function param(name) { return (location.search.split('?' + name + '=')[1] || location.search.split('&' + name + '=')[1] || '').split('&')[0]; }
function param(name) { return (location.search.split('?' + name + '=')[1] || location.search.split('&' + name + '=')[1] || '').split('&')[0]; }