Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to download an entire site:

http://givatram.org/bank/hug.php?hug=0

Unfortunately, instead of the standard href tag, the page uses javascript functions to generate links:

<tr>
<td><div align="center" dir="rtl">69821</div></td>
<td onclick='go2("69821");' style="text-decoration:none;color:blue;cursor:pointer;word-wrap:nowrap"><div align="right" dir="rtl">  </div></td>
<td style="text-decoration:none;color:blue;cursor:pointer;word-wrap:nowrap"><div align="center" dir="ltr">1</div></td>
</tr>

I've tried wget and downthemall, but they can't handle this kind of linking mechanism.

How do I download an entire site with js links instead of href tags?

share|improve this question
    
Possibly related: superuser.com/questions/577102/… –  gronostaj Jun 10 '13 at 7:45
    
I fear there will be no solution available. Those links are homebrewed (somehow pretty evil) and following them would require the downloader to have a JavaScript engine which runs the code and checks for window.location = or any other means of redirection. I doubt that such a program exists (especially that parsing JavaScript part). –  Bobby Jun 10 '13 at 11:18
    
Related question about JS links: How to open stubborn javascript links in a new tab or new window? –  Karan Jun 10 '13 at 17:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.