Sending data from one domain to another using javascript (I have access to the <head> of both web pages)

  cors, javascript

I have access to the <head> tag on both pages and I need to send data from one page to another. Both pages are on different domains.

Page A domain (www.foo.com)

Page B domain (www.bar.com)

If I declared a variable, say var test_parameter = 'something';… How would I get that variable from one page to the next using some sort of code in the <head> tag?

Source: Ask Javascript Questions

LEAVE A COMMENT