Obtener parametros get de la url usando javascript

! This post hasn't been updated in over 2 years.