9.2 Auction business trip details (Internet) in the post.I'd like to download the xls file. However, it is difficult to download because the general address is JavaScript file download. I'd like to ask for a downloadable source.
Below is the source part of the download file.
<a href="javascript:file_download2('hshanu', '5192897');">
<img src="/Web-home/common/images/filetype/xls.gif" alt="">
9.2 Auction business trip details (Internet).xls
</a>
This is also a very lucky case. As you can see, by writing an inline JavaScript in the href
attribute, the global function file_download2()
is executed when clicking the link.
Then we can find out about window.file_download2
. Let's turn on the developer tool, open the page, and type file_download2 on the console.
You can now infer how you can receive this file.
© 2024 OneMinuteCode. All rights reserved.