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
<http://search.sothebys.com/search/collArea/BrowseCat.jsp?event_id=27413&format=textImage&sortspec=LIVE_LOT_ID_SORT+asc&docStart=1&HitsPerPage=20>

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=203.166.24.90");
	//alert("BrowseCat.jsp: country=US");
} else {

window.location="/liveauctions/common/ipDetect.html?source_page=http%3A%2F%2Fsearch.sothebys.com%2Fsearch%2FcollArea%2FBrowseCat.jsp%3F%26event_id%3D27413%26format%3DtextImage%26sortspec%3DLIVE_LOT_ID_SORT+asc%26docStart%3D1%26HitsPerPage%3D20";
}
</script>

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?
Philip

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

 
Reply


All articles

Subject Author Date
httrack changing Javascript code

06/21/2005 10:15




a

Created with FORUM 2.0.11