0

How can I access the value of a javascript variable from a website from a different website using javascript. So basically a javascript or jquery function to just get a single javascript variable from a website.

user7728832
  • 11
  • 1
  • 3
  • 1
    [You cannot](https://en.wikipedia.org/wiki/Same-origin_policy), and that's a good thing. (I assume that by "different website" you mean another domain that does not belong to you) – Bergi Sep 05 '17 at 22:57
  • 1
    What is your [actual problem](https://meta.stackexchange.com/q/66377)? – Bergi Sep 05 '17 at 22:57

0 Answers0