Is there a cross-browser way to call Javascript setLocation() but still to keep the referrer to the one that lead to the current webpage (just like in HTTP server-side redirect) and if yes then how?
Clarifying example:
Site A sent a user to Site B.
When arriving on Site B, Site A is the referrer.
When redirecting from Site B to Site C (by adjusting the location in JS), Site B will be referrer.
I'd like to keep the original referrer (i.e. Site A) when redirecting from B to C.