HTTrack Website Copier
Free software offline browser - FORUM
Subject: httrack changing Javascript code
Author: Philip Hutchison
Date: 06/21/2005 10:15
I am trying to capture the web page using webhttrack 3.33

Using the following scan rules:
+*.css +*.js
+*.gif +*.jpg +*.png +*.tif +*.bmp
and with no external pages set

On that web page there is the following javascript code:
<script language="javascript" type="text/javascript">
if(true) {
	//alert("BrowseCat.jsp: ip=");
	//alert("BrowseCat.jsp: country=US");
} else {


This javascript code will always do nothing and have no effect but the
resulting captured code turns
if(true) to if(false) for some reason.

Is this a bug?

PS just tried it with webhttrack 3.40-alpha-4 and the problem remains.


All articles

Subject Author Date
httrack changing Javascript code

06/21/2005 10:15


Created with FORUM 2.0.11