Let's say I have https://websiteA.com and https://websiteB.com
All websiteA does, is make a 302 redirection to websiteB
If someone goes to:
https://websiteA.com?firstName=john&lastName=smith
Is it possible to pass all the URL params from the websiteA request to the redirection to websiteB, so that the user ultimately lands at:
https://websiteB.com?firstName=john&lastName=smith
using JavaScript only?