OT But Related - Get Source of a URL
Michael Kann
mikekann at yahoo.com
Fri Aug 16 10:18:01 EDT 2002
Mike asked: Which version of IE Mac are you using? Do
you also want it to work on Windows, or just on the
Mac?
Scott Rossi asked:
> >
> > In MetaCard we have the ability to put a url into
> a container, such as:
> >
> > put url "http://www.mypage.com/index.html" into
> fld 1
> >
> > ...and we see the source of the file in field 1.
> >
> > Anyone know of an equivalent way to do this using
> Javascript?
> >
> > I've already dug up several references similar to
> the following but
> > unfortunately they seem to fail in IE Mac:
> >
> > <script language="javascript">
> > function viewsource() {
> > window.location = "view-source:" +
> window.location;
> > }
> > </script>
> >
> > Just wondering if anyone knows of some script that
> would allow me to read
> > the source code of HTML page into a variable,
> instead of physically
> > displaying the page in the browser.
> >
http://lists.runrev.com/mailman/listinfo/metacard
>
Pierre asked:
>
> What do you want to do with the resulting variable ?
> Display it back to
> the webbroswer trough an mt/cgi-script (javascript
> can't do this by it
> self without interacting with the server-side stuff)
> ?
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the metacard
mailing list