Preventing “SCRIPT5: Access is denied” error in IE

后端 未结 3 1915
梦毁少年i
梦毁少年i 2020-12-03 09:27

Scenario: Page A on A.com that has an IFrame containing Page B on B.com. Page B uses jQuery 1.10.1 and does not need to communicate with Page A.

Regardless

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 10:23

    Make sure also that you are not loading your jQuery asset from a CDN such as Google Hosted Libraries. Because the domain is different, that violates certain security protocols that Microsoft uses to protect against Cross Site Scripting in Internet Explorer.

提交回复
热议问题