HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: FDI Java Script Errors
Author: William Roeder
Date: 10/27/2008 13:30
 
> So what would it take to create a more complex
> parser?  Is this something we should think about? 
> We use HTTrack for LOTS of sites and would make good
> use of a better JS parser.

It would be nice, but think about what httrack does, it modifies the source
file link to be relative links.  If you had
var a,b,c;
a="path";
b="file";
c="asp";
d="text";
write.document("(a href='"+a+"/"+b+"."+c+"')"+d+"(/a)");

The path in var a would have to be modified, and asp in var c would have to be
changed to html but nothing else.
Not only would you need a full parser, you would have to have the AI to
propagate the changes back into the source. Alternatively, it could comment
out and replace just some of the JS code.

If it was easy, Xavier would have already done it.
 
Reply Create subthread


All articles

Subject Author Date
FDI Java Script Errors

10/25/2008 00:45
Re: FDI Java Script Errors

10/25/2008 14:49
Re: FDI Java Script Errors

10/27/2008 00:45
Re: FDI Java Script Errors

10/27/2008 13:30
Re: FDI Java Script Errors

10/27/2008 21:51




4

Created with FORUM 2.0.11