Simplemente llamamos a la siguiente funcion indicándole el parametro que queremos: function getUrlParameter(name) { name = name.replace(/[[]/, "\[").replace(/[]]/, "\]"); var regexS = "[\?&]" + name + "=([^&#]*)"; var regex = […]
<script language="javascript" type="text/javascript"> document.location.href=document.location.protocol + '//' + document.location.host </script>