Programmatically set the referrer on javascript redirect -


cross-browser to call javascript setLocation ()

but still to take the reference person to the current webpage (just like HTTP server-side redirects) and if yes, how?

A clear example:

Site A has been sent to the user Site B .

When Site B , Site A Referrer is Site B to Site C (While adjusting the location in JS), when redirecting, Site B will be the referrer. When redirecting from B to C , I want to put the original referrer (i.e. site A )

It seems that you need the persistence of referre history, to get it easily You can use query-string:

  www.c.com/?originalReferrer=A    

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -