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

前端 未结 5 2325
孤街浪徒
孤街浪徒 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:27

    Since we can't blame the people from Google for constructing such a safe browser, I think the best solution is to use Facebook's server-side solutions (e.g. PHP SDK), it'll save you a lot, lot, lot, lot, lot of headache. The only advantage I see in using the FB javascript SDK is the popup login which you can do yourself using javascript/jQuery.

提交回复
热议问题