0

How would I grab the cookies from another URL in Javascript through document.cookie?

For example, the browser is at http://google.com/, and I want it to grab the cookies stored for http://stackoverflow.com.

1 Answers1

0

You won't be able to grab cookies for other websites, that's against browsers security policies.

See this post

Google Chrome Extension

Community
  • 1
  • 1
Chase W.
  • 1,343
  • 2
  • 13
  • 25