Email conversation
From | Kim Kortermand |
To | Me |
Subject | Javascript to fetch the HTML source from any homepage and put it into a variable |
Date | 7 December 2005 11:28 |
Dear Sir
I am looking for the following javascript :
The tool is purely crossbrowser Javascript. It can actually fetch the HTML
source from any homepage and put it into a variable.
I actually found this tool a few weeks ago, but now I can't find it.
Can you help me out?
Best regards
Kim Kortermand
From | Me |
To | Kim Kortermand |
Subject | Re: Javascript to fetch the HTML source from any homepage and put it into a variable |
Date | 9 December 2005 07:16 |
Kim,
> The tool is purely crossbrowser Javascript. It can actually fetch the
> HTML source from any homepage and put it into a variable.
This is not possible. JavaScript security restrictions will prevent it from
loading content cross domain (except in Internet Explorer where there is no
security, and you can use XMLHttpRequest to collect the user's personal
information very easily). You should use a server side script and pass it
through that. That is the only way to achieve a proper cross browser effect.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/