var red_url = decodeURI('https://www.cctf-m.com/login/?u=https://www.cctf-m.com/post-ad/?amp=1'); window.location = red_url;console.log(red_url);