HTTrack Website Copier
Free software offline browser - FORUM
Subject: Following simple javascript links
Author: NewTyro
Date: 05/10/2001 17:44
 

(This sounds like a FAQ, but could not find any
specific reference to this method of linking.)

Flowers (always needed when really deserved): I am
using HtTrack for almost a year, and find it an
extremely useful research tool, offline browser, and
off-line web distribution builder, in that order.  Its
has its problems, but I can live with most them, I believe.

Now my "problem" (sort of...)

Many sites are using very simple javascript functions
[like <a href javascript:gotolink('foofile.html')>] in
lieu of straight <a href=foofile.html> links.

This are very simple functions, defined like this:

<SCRIPT> <!--
function gotolink (gohere) {
window.location=gohere
}
//--> </script>

I do know that it is difficult to parse javascript, but
perhaps hunting for the almost always present
window.location statement could make HtTrack save me
the trouble of building URL lists?  ;)

Wishful thinking, I know about it more than about
programming.

Merci,

Tyro.
 
Reply


All articles

Subject Author Date
Following simple javascript links

05/10/2001 17:44
Re: Following simple javascript links

05/10/2001 18:26
Re: Following simple javascript links

05/10/2001 23:37
Re: Following simple javascript links

05/11/2001 08:08
Re: Following simple javascript links

05/11/2001 23:36




8

Created with FORUM 2.0.11