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.
Asked
Active
Viewed 135 times
0
-
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
-
1What is your [actual problem](https://meta.stackexchange.com/q/66377)? – Bergi Sep 05 '17 at 22:57