document.cookie用于另一个URL?

时间:2014-02-26 00:54:06

标签: javascript cookies

如何通过document.cookie

从Javascript中的其他网址抓取Cookie

例如,浏览器位于http://google.com/,我希望它抓取为http://stackoverflow.com存储的Cookie。

1 个答案:

答案 0 :(得分:0)

您将无法抓取其他网站的Cookie,这违反了浏览器安全政策。

See this post

Google Chrome Extension

相关问题