有时在浏览时,我会按住 ctrl 单击链接以在新选项卡中打开它。但是,它不是在新选项卡中打开,而是被单击并浏览到当前选项卡,就像我在不按住 ctrl 的情况下正常单击它一样。我很确定我完全按住 ctrl 并且键盘或鼠标没有故障。
有时,会打开一个带有链接的新选项卡,但当前选项卡也会同时浏览到该链接。
我正在尝试下载整个网站:
http://givatram.org/bank/hug.php?hug=0
不幸的是,href
该页面没有使用标准标签,而是使用 javascript 函数来生成链接:
<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>
Run Code Online (Sandbox Code Playgroud)
我试过wget
and downthemall
,但他们无法处理这种链接机制。
如何使用 js 链接而不是href
标签下载整个站点?