JS: redirect with referrer domainname and tld
Had to write this script to redirect visitors of a global information page back to the subdomain of the site they came from. Visitor came from a link on this page: Comes on a different website: After clicking…