I'm passing few parameters with GET Method to a domain example :
domain.com?bid=23&color=red&gender=male
I can't use PHP and I need to grab those parameters value (bid,color,geneder)and to transfer them to new domain with redirection , this is how I did it with PHP
header( "Location: http://seconddomain.com/page3.php?c=50&key=f342fd0eb8ee0b6d9740f85971dabfec&bid=".$_GET["bid"]."&color=".$_GET["color"]."&gender=".$_GET["gender"]." );
http://seconddomain.com/page3.php?c=50&key=f342fd0eb8ee0b6d9740f85971dabfec
this is just the page..
How can I convert it to javascript this is possible?