HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: About javascript?
Author: Xavier Roche
Date: 02/25/2003 07:00
 
> Can you explain more detail on how well does httrack 
> handle javascript?
The javascript parser is basic ; it detects common caes 
like:
foo.src='images/bar.gif';
bar.document.write("<img src='images/bar.gif'>");

some other 'obvious' expressions like
bar='images/bar.gif';

are also fetched.

But complex expressions like:
foo.src=dir+'/bar.gif';
or anything with functions and variables will not be 
checked, as it is too complex for a simple crawler..

> I want to trace the problem and if needed and if it's 
> simple, i would like to add a simple feature to handle 
> javascript in select-tag myself.

Do you mean <select> tags? Form (input, select, options..) 
tags are not parsed, because it generally causes MUCH more 
problems than it solves (the "post" function in http is not 
documented as idempotent, and can cause problems, such as 
a "delete" or "reply" form)

> (by the way, i am using Linux version, just in case if it 
> does make a diff.)

No, the engine is strictly identical (libhttrack.so == 
libhttrack.dll)
 
Reply Create subthread


All articles

Subject Author Date
About javascript?

02/25/2003 03:50
Re: About javascript?

02/25/2003 07:00
Re: About javascript?

02/25/2003 08:03




6

Created with FORUM 2.0.11