On Thu, Aug 4, 2011 at 2:23 AM, Lasse Reichstein
wrote:
>
>
> On Wed, Aug 3, 2011 at 8:46 PM, Diego Perini wrote:
>>
>> Lasse,
>> for same-domain scripts I recall I could do that with a trick (reading
>> external scripts content).
>>
>> I don't have my old code at hand now (out of my country) but
Lasse,
for same-domain scripts I recall I could do that with a trick (reading
external scripts content).
I don't have my old code at hand now (out of my country) but will try
to find it when back home.
The trick requires setting a child IFRAME src attribute with the path
of the external script, t
2011/8/2 sim williams :
> Thanks Poetro
>
> Would this be possible for cross domain files?
>
> Thanks
>
Only if both your browser and the third party do support cross domain
ajax (http://www.w3.org/TR/XMLHttpRequest2/). In any other cases you
would need a proxy (written in your favorite server sid
Thanks Poetro
Would this be possible for cross domain files?
Thanks
On Aug 2, 11:28 am, Poetro wrote:
> 2011/8/2 sim williams :> Hi All,
>
> > I would like to be able to read the contents of a JavaScript file.
>
> You should load the file via AJAX, then you can read the content of
> the respons