开发者

Caja and JQuery

开发者_如何学PythonSuppose I use the cajoler to sanitize third party javascript and run it in a host, and regarding JQuery:

  • Can the third party application include JQuery, which will be cajoled in the process, or,
  • Does the host site expose JQuery functionality to the third party?


The third-party application should reference jQuery itself. If the host page were to provide jQuery, then that copy of jQuery would have access to the host page DOM, so the third-party application would not be properly confined.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜