HTTrack Website Copier
Free software offline browser - FORUM
Subject: URLs rewritten by JavaScript
Author: Mark
Date: 09/05/2004 19:10
 
Hi,

In some pages I have

   var sRootUrl = <http://some.domain/>;

   function newURLs(aURLs, sRef) {
      var i = 0;
      for(i = 0; i < aCollection.length; i++)
          aURLs[i][sRef] = sRootURL + aURLs[i][sRef];
   }

   if (document.links) newURLs(document.links, "href");

Which converts all URLs of the format <http://this>.
domain/document' into <http://some.domain/http://this>.
domain/document'.


Do you think that HTTrack will be able to reconstruct links 
like this sometime?
Mark.
 
Reply


All articles

Subject Author Date
URLs rewritten by JavaScript

09/05/2004 19:10
Re: URLs rewritten by JavaScript

09/06/2004 06:59




2

Created with FORUM 2.0.11