JavaScript and third party cookies

后端 未结 3 649
迷失自我
迷失自我 2021-02-03 13:02

Say there is a site foo.com which loads JavaScript from site bar.com. Now, say the JavaScript from site bar.com tries to read cookies usin

3条回答
  •  被撕碎了的回忆
    2021-02-03 13:45

    But it turns out that the JavaScript from the site bar.com can only access cookies set by bar.com and not any other.

    That isn't true. What matters is where the HTML document containing the

提交回复
热议问题