//Function to get the value of each parameter function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } //Recirect function: Forwards the user to the given redirect function redirect() { var target = getParameterByName('redirect'); window.location.replace(target); } redirect(); Du wirst weitergeleitet
Du wirst gleich weitergeleitet