“Unsafe JavaScript attempt to access frame with URL…” error being continuously generated in Chrome webkit inspector

前端 未结 5 2321
孤街浪徒
孤街浪徒 2020-12-02 08:56

Chrome (or any other webkit browser) throws a ton of these \"Unsafe JavaScript attempt to access frame with URL...\" when working with the Facebook API for example.

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 09:43

    This happens when a source from an different domain is loaded and tries to access the document.cookie. It happens with head sources (script tags) as well with iframe documents which try to access the document.cookie for some reason.

提交回复
热议问题