Thanks, but I don't follow what you write here. The test
!s.url.indexOf(http) evaluates to !0 == TRUE when the s.url begins with
http. It is then that script is used, not when s.url begins with
file.
In fact, what the post does is to inject a script from a potentially
external URL. If anything
i think the key-check is this: !s.url.indexOf(http)
file://foo/bar cant be requested via XHR, so script-tag is used...
On 22 Jan., 23:20, Kynn Jones [EMAIL PROTECTED] wrote:
I understand what the test at the top is testing for, but I don't understand
the policy implemented by the code that
2 matches
Mail list logo