HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Following simple javascript links
Author: Xavier Roche
Date: 05/10/2001 18:26
 
<SCRIPT> <!-- 
function gotolink (gohere) { 
window.location=gohere 
} 
//--> </script> 

In fact, pasing such code is really hard. But instead, 
HTTrack will detect links in code like:

<a href javascript:gotolink('foofile.html')>

Because 'foofile.html' is recognized as an html file.. 
of course, if you have:

function gotolink (gohere) { 
window.location="anotherdir/".gohere 
} 

Then HTTrack will be fooled, because the "anotherdir" 
folder won't be detected...

besides, HTTRack can not yet detect dynamic pages like
<a href javascript:gotolink('foofile.asp')>

But this will be done in the next release!

 
Reply Create subthread


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




b

Created with FORUM 2.0.11