HTTrack Website Copier
Free software offline browser - FORUM
Subject: JavaScript links to dynamic pages not working
Author: Mark Root
Date: 01/11/2018 00:19
HTTrack works great but I'm having trouble capturing dynamically generated
pages referenced in JavaScript.  I've tried everything mentioned in the FAQ
and Forum but still can't seem to get it to work.

The following is the link that generates the page referenced in the onclick
function that HTTrack doesn't capture:

< a href="#" onclick="popupCenter('/apex/PDFfile?id=12345', 'PDF File');
return false;">Click Here To View the PDF</ a>

The following is the JavaScript function that generates the page that I'd like
to capture:

functio n popupCenter(url, title) {
        var h = 900;
        var w = 1000;
        var left = (screen.width/2)-(w/2);
        var top = (screen.height/2)-(h/2)-50;
        return, title, 'toolbar=no, location=no,
directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes,
copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);

Finally, this is the site that uses the above code that works fine but that
HTTrack doesn't fully capture:


Any suggestions?  Thanks.


All articles

Subject Author Date
JavaScript links to dynamic pages not working

01/11/2018 00:19
Re: JavaScript links to dynamic pages not working

02/14/2018 02:35


Created with FORUM 2.0.11